Skip to content

Conversation

@yarikoptic-gitmate
Copy link
Collaborator

Adds comprehensive module-level docstrings to core API and configuration modules, improving IDE support and code navigation.

Changes

  • dandiapi.py: Document REST API client, authentication, and main functionality
  • exceptions.py: Document custom exception hierarchy and error handling
  • consts.py: Document constants, metadata fields, and configuration

Benefits

  • Better IDE autocomplete and hover documentation
  • Improved code navigation and understanding
  • Follows NumPy docstring style conventions

Files Changed

  • dandi/dandiapi.py
  • dandi/exceptions.py
  • dandi/consts.py

Testing

Verified with full test suite: 548 passed, 0 failed.

See commit: 9ce222b3

Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com

- dandiapi.py: Document REST API client classes and main functionality
- exceptions.py: Document custom exception hierarchy
- consts.py: Document constants, metadata fields, and configuration
@yarikoptic-gitmate yarikoptic-gitmate added the documentation Changes only affect the documentation label Feb 12, 2026
@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.10%. Comparing base (a3dd9f9) to head (ba3ce41).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1787      +/-   ##
==========================================
- Coverage   75.11%   75.10%   -0.01%     
==========================================
  Files          84       84              
  Lines       11921    11921              
==========================================
- Hits         8954     8953       -1     
- Misses       2967     2968       +1     
Flag Coverage Δ
unittests 75.10% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Changes only affect the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants