Skip to content

Commit 6e8286e

Browse files
committed
Ignore some type-checking errors under Python 3.13
1 parent ff49fd1 commit 6e8286e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dandi/dandiarchive.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,10 @@ def is_under_download_path(self, path: str) -> bool:
287287

288288

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

0 commit comments

Comments
 (0)