Skip to content

Commit ef12f55

Browse files
fix: do not advertise incremental sync mode for streams without cursor field
Co-Authored-By: AJ Steers <aj@airbyte.io>
1 parent 53c696f commit ef12f55

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,9 +2112,7 @@ def create_default_stream(
21122112
primary_key=get_primary_key_from_stream(primary_key),
21132113
cursor_field=concurrent_cursor.cursor_field
21142114
if hasattr(concurrent_cursor, "cursor_field")
2115-
else CursorField(
2116-
cursor_field_key=""
2117-
), # FIXME we should have the cursor field has part of the interface of cursor,
2115+
else None,
21182116
logger=logging.getLogger(f"airbyte.{stream_name}"),
21192117
cursor=concurrent_cursor,
21202118
supports_file_transfer=hasattr(model, "file_uploader") and bool(model.file_uploader),

0 commit comments

Comments
 (0)