Skip to content

Commit 1079629

Browse files
author
maxime.c
committed
supports_file_transfer
1 parent 98e2227 commit 1079629

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2097,6 +2097,7 @@ 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),
21002101
)
21012102

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

0 commit comments

Comments
 (0)