Skip to content

Commit 3849b7d

Browse files
yarikopticjwodder
andauthored
use Optional instead of | None
Co-authored-by: John T. Wodder II <jwodder@users.noreply.github.com>
1 parent a7e2f00 commit 3849b7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dandi/dandiapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@ class BaseRemoteAsset(ABC, APIBase):
13921392
#: The asset's (forward-slash-separated) path
13931393
path: str
13941394
#: The path within the asset, as e.g. path in a zarr/
1395-
subpath: str | None = Field(default=None)
1395+
subpath: Optional[str] = None
13961396
#: The size of the asset in bytes
13971397
size: int
13981398
#: The date at which the asset was created

0 commit comments

Comments
 (0)