|
| 1 | +# Copyright (c) 2025 Airbyte, Inc., all rights reserved. |
| 2 | + |
1 | 3 | # generated by datamodel-codegen: |
2 | 4 | # filename: declarative_component_schema.yaml |
3 | 5 |
|
@@ -2541,9 +2543,16 @@ class HttpRequester(BaseModelWithDeprecations): |
2541 | 2543 | ) |
2542 | 2544 | fetch_properties_from_endpoint: Optional[PropertiesFromEndpoint] = Field( |
2543 | 2545 | None, |
| 2546 | + deprecated=True, |
| 2547 | + deprecation_message="Use `query_properties` field instead.", |
2544 | 2548 | description="Allows for retrieving a dynamic set of properties from an API endpoint which can be injected into outbound request using the stream_partition.extra_fields.", |
2545 | 2549 | title="Fetch Properties from Endpoint", |
2546 | 2550 | ) |
| 2551 | + query_properties: Optional[QueryProperties] = Field( |
| 2552 | + None, |
| 2553 | + description="For APIs that require explicit specification of the properties to query for, this component will take a static or dynamic set of properties (which can be optionally split into chunks) and allow them to be injected into an outbound request by accessing stream_partition.extra_fields.", |
| 2554 | + title="Query Properties", |
| 2555 | + ) |
2547 | 2556 | request_parameters: Optional[Union[Dict[str, Union[str, QueryProperties]], str]] = Field( |
2548 | 2557 | None, |
2549 | 2558 | description="Specifies the query parameters that should be set on an outgoing HTTP request given the inputs.", |
@@ -2958,6 +2967,11 @@ class DynamicDeclarativeStream(BaseModel): |
2958 | 2967 | description="Component resolve and populates stream templates with components values.", |
2959 | 2968 | title="Components Resolver", |
2960 | 2969 | ) |
| 2970 | + use_parent_parameters: Optional[bool] = Field( |
| 2971 | + True, |
| 2972 | + description="Whether or not to prioritize parent parameters over component parameters when constructing dynamic streams. Defaults to true for backward compatibility.", |
| 2973 | + title="Use Parent Parameters", |
| 2974 | + ) |
2961 | 2975 |
|
2962 | 2976 |
|
2963 | 2977 | ComplexFieldType.update_forward_refs() |
|
0 commit comments