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
+2-16Lines changed: 2 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -341,7 +341,7 @@ definitions:
341
341
properties:
342
342
type:
343
343
type: string
344
-
enum: [DynamicStreamCheckConfig]
344
+
enum: [DynamicStreamCheckConfig]
345
345
dynamic_stream_name:
346
346
title: Dynamic Stream Name
347
347
description: The dynamic stream name.
@@ -1044,18 +1044,6 @@ definitions:
1044
1044
$parameters:
1045
1045
type: object
1046
1046
additionalProperties: true
1047
-
EmitPartialRecordMergeStrategy:
1048
-
title: Emit Partial Record
1049
-
description: Record merge strategy where in the case where multiple requests are needed to retrieve all properties, properties are not consolidated back into a single record and are instead emitted as separate groups of properties. This strategy should only be used when records do not have a unique identifier like a primary key.
1050
-
required:
1051
-
- type
1052
-
properties:
1053
-
type:
1054
-
type: string
1055
-
enum: [EmitPartialRecordMergeStrategy]
1056
-
$parameters:
1057
-
type: object
1058
-
additionalProperties: true
1059
1047
JwtAuthenticator:
1060
1048
title: JWT Authenticator
1061
1049
description: Authenticator for requests using JWT authentication flow.
@@ -3081,9 +3069,7 @@ definitions:
3081
3069
record_merge_strategy:
3082
3070
title: Record Merge Strategy
3083
3071
description: Dictates how to records that require multiple requests to get all properties should be emitted to the destination
Copy file name to clipboardExpand all lines: airbyte_cdk/sources/declarative/models/declarative_component_schema.py
+2-9Lines changed: 2 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ class DynamicStreamCheckConfig(BaseModel):
51
51
)
52
52
stream_count: Optional[int] =Field(
53
53
0,
54
-
description="Numbers of the streams to try reading from when running a check operation.",
54
+
description="The number of streams to attempt reading from during a check operation. If `stream_count` exceeds the total number of available streams, the minimum of the two values will be used.",
self, model: PropertiesFromEndpointModel, config: Config, **kwargs: Any
2654
2645
) ->PropertiesFromEndpoint:
2655
-
name="property_retriever"
2656
2646
retriever=self._create_component_from_model(
2657
2647
model=model.retriever,
2658
2648
config=config,
2659
-
name=name,
2649
+
name="dynamic_properties",
2660
2650
primary_key=None,
2661
2651
stream_slicer=None,
2662
2652
transformations=[],
2653
+
use_cache=True, # Enable caching on the HttpRequester/HttpClient because the properties endpoint will be called for every slice being processed, and it is highly unlikely for the response to different
0 commit comments