You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: airbyte_cdk/sources/declarative/declarative_component_schema.yaml
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -3121,28 +3121,19 @@ definitions:
3121
3121
type:
3122
3122
type: string
3123
3123
enum: [ParentStreamConfig]
3124
-
lazy_read_pointer:
3125
-
title: Lazy Read Pointer
3126
-
description: If set, this will enable lazy reading, using the initial read of parent records to extract child records.
3127
-
type: array
3128
-
default: []
3129
-
items:
3130
-
type: string
3131
-
interpolation_context:
3132
-
- config
3124
+
stream:
3125
+
title: Parent Stream
3126
+
description: Reference to the parent stream.
3127
+
anyOf:
3128
+
- "$ref": "#/definitions/DeclarativeStream"
3129
+
- "$ref": "#/definitions/StateDelegatingStream"
3133
3130
parent_key:
3134
3131
title: Parent Key
3135
3132
description: The primary key of records from the parent stream that will be used during the retrieval of records for the current substream. This parent identifier field is typically a characteristic of the child records being extracted from the source API.
3136
3133
type: string
3137
3134
examples:
3138
3135
- "id"
3139
3136
- "{{ config['parent_record_id'] }}"
3140
-
stream:
3141
-
title: Parent Stream
3142
-
description: Reference to the parent stream.
3143
-
anyOf:
3144
-
- "$ref": "#/definitions/DeclarativeStream"
3145
-
- "$ref": "#/definitions/StateDelegatingStream"
3146
3137
partition_field:
3147
3138
title: Current Parent Key Value Identifier
3148
3139
description: While iterating over parent records during a sync, the parent_key value can be referenced by using this field.
@@ -3159,6 +3150,15 @@ definitions:
3159
3150
description: Indicates whether the parent stream should be read incrementally based on updates in the child stream.
3160
3151
type: boolean
3161
3152
default: false
3153
+
lazy_read_pointer:
3154
+
title: Lazy Read Pointer
3155
+
description: If set, this will enable lazy reading, using the initial read of parent records to extract child records.
3156
+
type: array
3157
+
default: []
3158
+
items:
3159
+
type: string
3160
+
interpolation_context:
3161
+
- config
3162
3162
extra_fields:
3163
3163
title: Extra Fields
3164
3164
description: Array of field paths to include as additional fields in the stream slice. Each path is an array of strings representing keys to access fields in the respective parent record. Accessible via `stream_slice.extra_fields`. Missing fields are set to `None`.
@@ -3592,18 +3592,18 @@ definitions:
3592
3592
default: false
3593
3593
partition_router:
3594
3594
title: Partition Router
3595
-
description: PartitionRouter component that describes how to partition the stream, enabling incremental syncs and checkpointing.
3596
-
default: []
3595
+
description: Used to iteratively execute requests over a set of values, such as a parent stream's records or a list of constant values.
..., description="Reference to the parent stream.", title="Parent Stream"
2655
2653
)
2656
2654
parent_key: str=Field(
2657
2655
...,
2658
2656
description="The primary key of records from the parent stream that will be used during the retrieval of records for the current substream. This parent identifier field is typically a characteristic of the child records being extracted from the source API.",
..., description="Reference to the parent stream.", title="Parent Stream"
2664
-
)
2665
2660
partition_field: str=Field(
2666
2661
...,
2667
2662
description="While iterating over parent records during a sync, the parent_key value can be referenced by using this field.",
@@ -2678,6 +2673,11 @@ class ParentStreamConfig(BaseModel):
2678
2673
description="Indicates whether the parent stream should be read incrementally based on updates in the child stream.",
2679
2674
title="Incremental Dependency",
2680
2675
)
2676
+
lazy_read_pointer: Optional[List[str]] =Field(
2677
+
[],
2678
+
description="If set, this will enable lazy reading, using the initial read of parent records to extract child records.",
2679
+
title="Lazy Read Pointer",
2680
+
)
2681
2681
extra_fields: Optional[List[List[str]]] =Field(
2682
2682
None,
2683
2683
description="Array of field paths to include as additional fields in the stream slice. Each path is an array of strings representing keys to access fields in the respective parent record. Accessible via `stream_slice.extra_fields`. Missing fields are set to `None`.",
@@ -2772,22 +2772,22 @@ class SimpleRetriever(BaseModel):
2772
2772
)
2773
2773
partition_router: Optional[
2774
2774
Union[
2775
-
ListPartitionRouter,
2776
2775
SubstreamPartitionRouter,
2776
+
ListPartitionRouter,
2777
2777
GroupingPartitionRouter,
2778
2778
CustomPartitionRouter,
2779
2779
List[
2780
2780
Union[
2781
-
ListPartitionRouter,
2782
2781
SubstreamPartitionRouter,
2782
+
ListPartitionRouter,
2783
2783
GroupingPartitionRouter,
2784
2784
CustomPartitionRouter,
2785
2785
]
2786
2786
],
2787
2787
]
2788
2788
] =Field(
2789
-
[],
2790
-
description="PartitionRouter component that describes how to partition the stream, enabling incremental syncs and checkpointing.",
2789
+
None,
2790
+
description="Used to iteratively execute requests over a set of values, such as a parent stream's records or a list of constant values.",
0 commit comments