Skip to content

Commit 39a0e20

Browse files
committed
Fix PrivateAttr usage
1 parent 3940aa2 commit 39a0e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dandi/dandiapi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1378,7 +1378,7 @@ class BaseRemoteAsset(ABC, APIBase):
13781378
modified: datetime
13791379
#: Metadata supplied at initialization; returned when metadata is requested
13801380
#: instead of performing an API call
1381-
_metadata: Optional[Dict[str, Any]] = PrivateAttr(default_factory=None)
1381+
_metadata: Optional[Dict[str, Any]] = PrivateAttr(default=None)
13821382

13831383
def __init__(self, **data: Any) -> None: # type: ignore[no-redef]
13841384
super().__init__(**data)

0 commit comments

Comments
 (0)