Skip to content

Commit

Permalink
Merge branch 'fix_anyof_sql_types' of https://github.com/meltano/sdk
Browse files Browse the repository at this point in the history
…into fix_anyof_sql_types
  • Loading branch information
pnadolny13 committed Jun 19, 2023
2 parents a337237 + 585a68b commit 21fd8ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions singer_sdk/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,8 +826,7 @@ def _jsonschema_type_check(jsonschema_type: dict, type_check: tuple[str]) -> boo
return True

if any(
_jsonschema_type_check(t, type_check)
for t in jsonschema_type.get("anyOf", ())
_jsonschema_type_check(t, type_check) for t in jsonschema_type.get("anyOf", ())
):
return True

Expand Down

0 comments on commit 21fd8ea

Please sign in to comment.