Skip to content

Commit

Permalink
🐛 (CDK) Remove use of 3.11 unions (#41967)
Browse files Browse the repository at this point in the history
  • Loading branch information
girarda authored Jul 15, 2024
1 parent 591d063 commit ad9244e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airbyte-cdk/python/airbyte_cdk/sources/streams/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ def configured_json_schema(self) -> Optional[Dict[str, Any]]:
def configured_json_schema(self, json_schema: Dict[str, Any]) -> None:
self._configured_json_schema = self._filter_schema_invalid_properties(json_schema)

def _filter_schema_invalid_properties(self, configured_catalog_json_schema: Dict[str, Any | Dict[str, Any]]) -> Dict[str, Any]:
def _filter_schema_invalid_properties(self, configured_catalog_json_schema: Dict[str, Any]) -> Dict[str, Any]:
"""
Filters the properties in json_schema that are not present in the stream schema.
Configured Schemas can have very old fields, so we need to housekeeping ourselves.
Expand Down

0 comments on commit ad9244e

Please sign in to comment.