Skip to content

Commit

Permalink
Ignore some type-checking errors under Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Nov 25, 2024
1 parent ff49fd1 commit 6e8286e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dandi/dandiarchive.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,10 @@ def is_under_download_path(self, path: str) -> bool:


@dataclass
class BaseAssetIDURL(SingleAssetURL):
# The below `type: ignore[override]` prevents mypy under Python 3.13+ from
# complaining about problems caused by overriding the types of `dandiset_id`
# and `version_id` from what they are in ParsedDandiURL.
class BaseAssetIDURL(SingleAssetURL): # type: ignore[override]
"""
Parsed from a URL that refers to an asset by ID and does not include the
Dandiset ID
Expand Down

0 comments on commit 6e8286e

Please sign in to comment.