Skip to content

Commit ae16e6a

Browse files
committed
Remove not related changes
1 parent 50f729a commit ae16e6a

File tree

8 files changed

+79
-214
lines changed

8 files changed

+79
-214
lines changed

airbyte_cdk/sources/declarative/declarative_component_schema.yaml

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,29 +1766,6 @@ definitions:
17661766
$parameters:
17671767
type: object
17681768
additionalProperties: true
1769-
CombinedExtractor:
1770-
title: Combined Extractor
1771-
description: Record extractor that extract with .
1772-
type: object
1773-
required:
1774-
- type
1775-
- extractors
1776-
properties:
1777-
type:
1778-
type: string
1779-
enum: [ CombinedExtractor ]
1780-
extractors:
1781-
description: placeholder
1782-
type: array
1783-
items:
1784-
anyOf:
1785-
- "$ref": "#/definitions/DpathExtractor"
1786-
- "$ref": "#/definitions/CombinedExtractor"
1787-
- "$ref": "#/definitions/KeyValueExtractor"
1788-
- "$ref": "#/definitions/CustomRecordExtractor"
1789-
$parameters:
1790-
type: object
1791-
additionalProperties: true
17921769
DpathExtractor:
17931770
title: Dpath Extractor
17941771
description: Record extractor that searches a decoded response over a path defined as an array of fields.
@@ -2366,12 +2343,6 @@ definitions:
23662343
- "$ref": "#/definitions/AsyncRetriever"
23672344
- "$ref": "#/definitions/CustomRetriever"
23682345
- "$ref": "#/definitions/SimpleRetriever"
2369-
schema_filter:
2370-
title: Schema Filter
2371-
description: placeholder
2372-
anyOf:
2373-
- "$ref": "#/definitions/RecordFilter"
2374-
- "$ref": "#/definitions/CustomRecordFilter"
23752346
schema_transformations:
23762347
title: Schema Transformations
23772348
description: A list of transformations to be applied to the schema.
@@ -3369,7 +3340,6 @@ definitions:
33693340
extractor:
33703341
anyOf:
33713342
- "$ref": "#/definitions/DpathExtractor"
3372-
- "$ref": "#/definitions/CombinedExtractor"
33733343
- "$ref": "#/definitions/KeyValueExtractor"
33743344
- "$ref": "#/definitions/CustomRecordExtractor"
33753345
record_filter:
@@ -4050,9 +4020,6 @@ definitions:
40504020
title: Value Type
40514021
description: The expected data type of the value. If omitted, the type will be inferred from the value provided.
40524022
"$ref": "#/definitions/ValueType"
4053-
create_or_update:
4054-
type: boolean
4055-
default: false
40564023
$parameters:
40574024
type: object
40584025
additionalProperties: true
@@ -4104,10 +4071,6 @@ definitions:
41044071
- ["data"]
41054072
- ["data", "streams"]
41064073
- ["data", "{{ parameters.name }}"]
4107-
default_values:
4108-
title: Default Values
4109-
description: placeholder
4110-
type: array
41114074
$parameters:
41124075
type: object
41134076
additionalProperties: true
@@ -4119,11 +4082,7 @@ definitions:
41194082
type: string
41204083
enum: [ConfigComponentsResolver]
41214084
stream_config:
4122-
anyOf:
4123-
- type: array
4124-
items:
4125-
"$ref": "#/definitions/StreamConfig"
4126-
- "$ref": "#/definitions/StreamConfig"
4085+
"$ref": "#/definitions/StreamConfig"
41274086
components_mapping:
41284087
type: array
41294088
items:

airbyte_cdk/sources/declarative/extractors/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
33
#
44

5-
from airbyte_cdk.sources.declarative.extractors.combined_extractor import CombinedExtractor
65
from airbyte_cdk.sources.declarative.extractors.dpath_extractor import DpathExtractor
76
from airbyte_cdk.sources.declarative.extractors.http_selector import HttpSelector
87
from airbyte_cdk.sources.declarative.extractors.key_value_extractor import KeyValueExtractor
@@ -21,5 +20,4 @@
2120
"RecordSelector",
2221
"ResponseToFileExtractor",
2322
"KeyValueExtractor",
24-
"CombinedExtractor",
2523
]

airbyte_cdk/sources/declarative/extractors/combined_extractor.py

Lines changed: 0 additions & 44 deletions
This file was deleted.

airbyte_cdk/sources/declarative/manifest_declarative_source.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,9 @@ def streams(self, config: Mapping[str, Any]) -> List[Stream]:
262262
}
263263
)
264264

265-
stream_configs = self._stream_configs(self._source_config) + self.dynamic_streams
265+
stream_configs = self._stream_configs(self._source_config) + self._dynamic_stream_configs(
266+
self._source_config, config
267+
)
266268

267269
api_budget_model = self._source_config.get("api_budget")
268270
if api_budget_model:

0 commit comments

Comments
 (0)