Skip to content

Commit bb559b6

Browse files
author
maxi297
committed
Ensure stream is declarative
1 parent e9f23a0 commit bb559b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airbyte_cdk/sources/declarative/concurrent_declarative_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def _group_streams(
206206
# these legacy Python streams the way we do low-code streams to determine if they are concurrent compatible,
207207
# so we need to treat them as synchronous
208208

209-
if name_to_stream_mapping[declarative_stream.name]["type"] == "StateDelegatingStream":
209+
if isinstance(declarative_stream, DeclarativeStream) and name_to_stream_mapping[declarative_stream.name]["type"] == "StateDelegatingStream":
210210
stream_state = self._connector_state_manager.get_stream_state(
211211
stream_name=declarative_stream.name, namespace=declarative_stream.namespace
212212
)

0 commit comments

Comments
 (0)