Skip to content

Commit 7ba206f

Browse files
committed
Fix stream format in schema
1 parent ed82738 commit 7ba206f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

airbyte_cdk/sources/concurrent_source/concurrent_read_processor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ def start_next_partition_generator(self) -> Optional[AirbyteMessage]:
258258
stream_name = stream.name
259259
stream_group = self._stream_block_simultaneous_read.get(stream_name, "")
260260

261-
# Check if this stream has a blocking group and is already active
261+
# Check if this stream has a blocking group and is already active as parent stream
262+
# (i.e. being read from during partition generation for another stream)
262263
if stream_group and stream_name in self._active_stream_names:
263264
# Add back to the END of the queue for retry later
264265
self._stream_instances_to_start_partition_generation.append(stream)
@@ -316,7 +317,6 @@ def start_next_partition_generator(self) -> Optional[AirbyteMessage]:
316317
self._logger.debug(f"Added '{stream_name}' to active group '{stream_group}'")
317318

318319
# Also mark all parent streams as active (they will be read from during partition generation)
319-
parent_streams = self._collect_all_parent_stream_names(stream_name)
320320
for parent_stream_name in parent_streams:
321321
parent_group = self._stream_block_simultaneous_read.get(parent_stream_name, "")
322322
if parent_group:

airbyte_cdk/sources/declarative/declarative_component_schema.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ definitions:
8585
streams:
8686
title: Streams
8787
description: >
88-
List of references to streams that belong to this group. Use JSON references
89-
to stream definitions (e.g., "#/definitions/my_stream").
88+
List of references to streams that belong to this group.
9089
type: array
9190
items:
92-
type: string
91+
anyOf:
92+
- "$ref": "#/definitions/DeclarativeStream"
9393
action:
9494
title: Action
9595
description: The action to apply to streams in this group.

0 commit comments

Comments
 (0)