Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
farizrahman4u committed Oct 11, 2021
1 parent a0fe88d commit b32da45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hub/util/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def _validate_optional(obj: Any, params: List[str]) -> bool:
return True
if params:
return _validate_object(obj, params[0])
return True


def _validate_list(obj: Any, params: List[str]) -> bool:
Expand Down

0 comments on commit b32da45

Please sign in to comment.