Skip to content

Commit

Permalink
Merge pull request #1303 from dandi/archive-1579b
Browse files Browse the repository at this point in the history
Update `asset_validation_errors` structure
  • Loading branch information
yarikoptic authored Jun 8, 2023
2 parents bd250d6 + 43d1d27 commit 4cde72f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dandi/dandiapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,10 @@ class RemoteValidationError(APIBase):
message: str


class RemoteAssetValidationError(RemoteValidationError):
path: Optional[str] = None


class VersionInfo(Version):
"""
.. versionadded:: 0.49.0
Expand All @@ -701,7 +705,7 @@ class VersionInfo(Version):
errors
"""

asset_validation_errors: List[RemoteValidationError]
asset_validation_errors: List[RemoteAssetValidationError]
version_validation_errors: List[RemoteValidationError]


Expand Down

0 comments on commit 4cde72f

Please sign in to comment.