Skip to content

Commit 7f643e4

Browse files
author
maxime.c
committed
format
1 parent 1079629 commit 7f643e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2097,7 +2097,8 @@ def create_declarative_stream(
20972097
logger=logging.getLogger(f"airbyte.{stream_name}"),
20982098
# FIXME this is a breaking change compared to the old implementation,
20992099
cursor=FinalStateCursor(stream_name, None, self._message_repository),
2100-
supports_file_transfer=hasattr(model, "file_uploader") and bool(model.file_uploader),
2100+
supports_file_transfer=hasattr(model, "file_uploader")
2101+
and bool(model.file_uploader),
21012102
)
21022103

21032104
cursor_field = model.incremental_sync.cursor_field if model.incremental_sync else None

0 commit comments

Comments
 (0)