Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dandi/metadata/nwb.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
@metadata_cache.memoize_path
def get_metadata(
path: str | Path | Readable, digest: Digest | None = None
) -> dict | None:
) -> dict[str, Any]:
"""
Get "flatdata" from a .nwb file

Expand Down
3 changes: 1 addition & 2 deletions dandi/misctypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,8 @@ class RemoteReadableAsset(Readable):

def open(self) -> IO[bytes]:
# Optional dependency:
import fsspec

from aiohttp import ClientTimeout
import fsspec

# We need to call open() on the return value of fsspec.open() because
# otherwise the filehandle will only be opened when used to enter a
Expand Down
Loading