Skip to content

Commit 300fc07

Browse files
committed
airbyte-cdk: update None typing to latter 3.10 style to quit optional from create_record_selector method
1 parent c18f0d7 commit 300fc07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1981,9 +1981,9 @@ def create_record_selector(
19811981
config: Config,
19821982
*,
19831983
name: str,
1984-
transformations: Optional[List[RecordTransformation]] = None,
1985-
decoder: Optional[Decoder] = None,
1986-
client_side_incremental_sync: Optional[Dict[str, Any]] = None,
1984+
transformations: List[RecordTransformation] | None = None,
1985+
decoder: Decoder | None = None,
1986+
client_side_incremental_sync: Dict[str, Any] | None = None,
19871987
**kwargs: Any,
19881988
) -> RecordSelector:
19891989
assert model.schema_normalization is not None # for mypy

0 commit comments

Comments
 (0)