Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
untzag committed Nov 17, 2023
1 parent 61a043b commit 5398599
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions event_model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1808,9 +1808,7 @@ class MismatchedDataKeys(InvalidData):

def _is_array(checker, instance):
return (
jsonschema.validators.Draft7Validator.TYPE_CHECKER.is_type(
instance, "array"
)
jsonschema.validators.Draft7Validator.TYPE_CHECKER.is_type(instance, "array")
or isinstance(instance, tuple)
or hasattr(instance, "__array__")
)
Expand Down

0 comments on commit 5398599

Please sign in to comment.