File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ def get_validation_errors(
146146 if devel_debug :
147147 raise
148148 return _pydantic_errors_to_validation_results (
149- e , str (self .filepath ), dandiset_path = self .dandiset_path
149+ [ e ] , str (self .filepath ), dandiset_path = self .dandiset_path
150150 )
151151 return []
152152
@@ -198,7 +198,7 @@ def get_validation_errors(
198198 if devel_debug :
199199 raise
200200 return _pydantic_errors_to_validation_results (
201- e , str (self .filepath ), dandiset_path = self .dandiset_path
201+ [ e ] , str (self .filepath ), dandiset_path = self .dandiset_path
202202 )
203203 except Exception as e :
204204 if devel_debug :
@@ -733,7 +733,7 @@ def _get_nwb_inspector_version():
733733
734734
735735def _pydantic_errors_to_validation_results (
736- errors : Any [ list [dict ], Exception ],
736+ errors : list [dict | Exception ],
737737 file_path : str ,
738738 dandiset_path : Optional [Path ] = None ,
739739) -> list [ValidationResult ]:
You can’t perform that action at this time.
0 commit comments