Repository navigation
Commit 35db3ae
committed
Fix get_metadata return annotation and import order in misctypes
get_metadata() always returns a dict, never None. The imports in
RemoteReadableAsset.open() were not sorted as the pinned isort (5.12.0)
of the pre-commit hook expects, so any change to dandi/misctypes.py
re-sorted them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qn5WBSiQgoZoL4fytF6nEr1 parent 8b6a1fc commit 35db3ae
2 files changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
347 | | - | |
348 | 346 | | |
| 347 | + | |
349 | 348 | | |
350 | 349 | | |
351 | 350 | | |
| |||
0 commit comments