Skip to content

Commit d9f0d6f

Browse files
updated doc comment
1 parent 69eb0cf commit d9f0d6f

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

airbyte_cdk/sources/declarative/parsers/manifest_component_transformer.py

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -138,23 +138,9 @@ def propagate_types_and_parameters(
138138
if self._is_json_schema_object(propagated_component):
139139
return propagated_component
140140

141-
# For objects that don't have type check if their object fields have nested components which should have parameters in it.
142-
# For example, QueryProperties in requester.request_parameters:
143-
# requester:
144-
# $ref: "#/definitions/base_requester"
145-
# path: /path/to/entity/{{ parameters.entity }}
146-
# request_parameters:
147-
# archived: 'false'
148-
# properties:
149-
# type: QueryProperties
150-
# property_list:
151-
# retriever:
152-
# type: SimpleRetriever
153-
# requester:
154-
# $ref: "#/definitions/base_requester"
155-
# path: /path/to//{{ parameters.entity }}/properties
156-
# ....
157-
# Update propagated_component value with components if needed and return propagated_component.
141+
# For objects that don't have type check if their object fields have nested components which should have `$parameters` in it.
142+
# For example, QueryProperties in requester.request_parameters, etc.
143+
# Update propagated_component value with nested components with parent `$parameters` if needed and return propagated_component.
158144
if "type" not in propagated_component:
159145
if self._has_nested_components(propagated_component):
160146
propagated_component = self._process_nested_components(

0 commit comments

Comments
 (0)