airbyte-cdk 6.36.0__py3-none-any.whl → 6.36.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airbyte_cdk/sources/declarative/decoders/composite_raw_decoder.py +2 -1
- airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py +8 -6
- {airbyte_cdk-6.36.0.dist-info → airbyte_cdk-6.36.1.dist-info}/METADATA +1 -1
- {airbyte_cdk-6.36.0.dist-info → airbyte_cdk-6.36.1.dist-info}/RECORD +8 -8
- {airbyte_cdk-6.36.0.dist-info → airbyte_cdk-6.36.1.dist-info}/LICENSE.txt +0 -0
- {airbyte_cdk-6.36.0.dist-info → airbyte_cdk-6.36.1.dist-info}/LICENSE_SHORT +0 -0
- {airbyte_cdk-6.36.0.dist-info → airbyte_cdk-6.36.1.dist-info}/WHEEL +0 -0
- {airbyte_cdk-6.36.0.dist-info → airbyte_cdk-6.36.1.dist-info}/entry_points.txt +0 -0
@@ -126,7 +126,8 @@ class CsvParser(Parser):
|
|
126
126
|
"""
|
127
127
|
text_data = TextIOWrapper(data, encoding=self.encoding) # type: ignore
|
128
128
|
reader = csv.DictReader(text_data, delimiter=self._get_delimiter() or ",")
|
129
|
-
|
129
|
+
for row in reader:
|
130
|
+
yield row
|
130
131
|
|
131
132
|
|
132
133
|
@dataclass
|
@@ -2091,10 +2091,10 @@ class ModelToComponentFactory:
|
|
2091
2091
|
def create_json_decoder(model: JsonDecoderModel, config: Config, **kwargs: Any) -> Decoder:
|
2092
2092
|
return JsonDecoder(parameters={})
|
2093
2093
|
|
2094
|
-
|
2095
|
-
def create_csv_decoder(model: CsvDecoderModel, config: Config, **kwargs: Any) -> Decoder:
|
2094
|
+
def create_csv_decoder(self, model: CsvDecoderModel, config: Config, **kwargs: Any) -> Decoder:
|
2096
2095
|
return CompositeRawDecoder(
|
2097
|
-
parser=ModelToComponentFactory._get_parser(model, config),
|
2096
|
+
parser=ModelToComponentFactory._get_parser(model, config),
|
2097
|
+
stream_response=False if self._emit_connector_builder_messages else True,
|
2098
2098
|
)
|
2099
2099
|
|
2100
2100
|
@staticmethod
|
@@ -2103,10 +2103,12 @@ class ModelToComponentFactory:
|
|
2103
2103
|
parser=ModelToComponentFactory._get_parser(model, config), stream_response=True
|
2104
2104
|
)
|
2105
2105
|
|
2106
|
-
|
2107
|
-
|
2106
|
+
def create_gzip_decoder(
|
2107
|
+
self, model: GzipDecoderModel, config: Config, **kwargs: Any
|
2108
|
+
) -> Decoder:
|
2108
2109
|
return CompositeRawDecoder(
|
2109
|
-
parser=ModelToComponentFactory._get_parser(model, config),
|
2110
|
+
parser=ModelToComponentFactory._get_parser(model, config),
|
2111
|
+
stream_response=False if self._emit_connector_builder_messages else True,
|
2110
2112
|
)
|
2111
2113
|
|
2112
2114
|
@staticmethod
|
@@ -75,7 +75,7 @@ airbyte_cdk/sources/declarative/declarative_component_schema.yaml,sha256=5o5Gslt
|
|
75
75
|
airbyte_cdk/sources/declarative/declarative_source.py,sha256=nF7wBqFd3AQmEKAm4CnIo29CJoQL562cJGSCeL8U8bA,1531
|
76
76
|
airbyte_cdk/sources/declarative/declarative_stream.py,sha256=venZjfpvtqr3oFSuvMBWtn4h9ayLhD4L65ACuXCDZ64,10445
|
77
77
|
airbyte_cdk/sources/declarative/decoders/__init__.py,sha256=JHb_0d3SE6kNY10mxA5YBEKPeSbsWYjByq1gUQxepoE,953
|
78
|
-
airbyte_cdk/sources/declarative/decoders/composite_raw_decoder.py,sha256=
|
78
|
+
airbyte_cdk/sources/declarative/decoders/composite_raw_decoder.py,sha256=DJbWaaJ5LHCBpyWz-4bEw8rqtJYqabEYZtxnfRtWFE0,4946
|
79
79
|
airbyte_cdk/sources/declarative/decoders/decoder.py,sha256=sl-Gt8lXi7yD2Q-sD8je5QS2PbgrgsYjxRLWsay7DMc,826
|
80
80
|
airbyte_cdk/sources/declarative/decoders/json_decoder.py,sha256=BdWpXXPhEGf_zknggJmhojLosmxuw51RBVTS0jvdCPc,2080
|
81
81
|
airbyte_cdk/sources/declarative/decoders/noop_decoder.py,sha256=iZh0yKY_JzgBnJWiubEusf5c0o6Khd-8EWFWT-8EgFo,542
|
@@ -119,7 +119,7 @@ airbyte_cdk/sources/declarative/parsers/custom_code_compiler.py,sha256=958MMX6_Z
|
|
119
119
|
airbyte_cdk/sources/declarative/parsers/custom_exceptions.py,sha256=Rir9_z3Kcd5Es0-LChrzk-0qubAsiK_RSEnLmK2OXm8,553
|
120
120
|
airbyte_cdk/sources/declarative/parsers/manifest_component_transformer.py,sha256=CXwTfD3wSQq3okcqwigpprbHhSURUokh4GK2OmOyKC8,9132
|
121
121
|
airbyte_cdk/sources/declarative/parsers/manifest_reference_resolver.py,sha256=IWUOdF03o-aQn0Occo1BJCxU0Pz-QILk5L67nzw2thw,6803
|
122
|
-
airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py,sha256=
|
122
|
+
airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py,sha256=IVQdcy1-kXz-T23zsMdoPBK2xuDE7gXHRtNTE5PBQ80,133990
|
123
123
|
airbyte_cdk/sources/declarative/partition_routers/__init__.py,sha256=HJ-Syp3p7RpyR_OK0X_a2kSyISfu3W-PKrRI16iY0a8,957
|
124
124
|
airbyte_cdk/sources/declarative/partition_routers/async_job_partition_router.py,sha256=VelO7zKqKtzMJ35jyFeg0ypJLQC0plqqIBNXoBW1G2E,3001
|
125
125
|
airbyte_cdk/sources/declarative/partition_routers/cartesian_product_stream_slicer.py,sha256=c5cuVFM6NFkuQqG8Z5IwkBuwDrvXZN1CunUOM_L0ezg,6892
|
@@ -360,9 +360,9 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EDxgROHDbfG-QKQb59m7h_7crN1tRiawdf5uU7G
|
|
360
360
|
airbyte_cdk/utils/spec_schema_transformations.py,sha256=-5HTuNsnDBAhj-oLeQXwpTGA0HdcjFOf2zTEMUTTg_Y,816
|
361
361
|
airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
|
362
362
|
airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
|
363
|
-
airbyte_cdk-6.36.
|
364
|
-
airbyte_cdk-6.36.
|
365
|
-
airbyte_cdk-6.36.
|
366
|
-
airbyte_cdk-6.36.
|
367
|
-
airbyte_cdk-6.36.
|
368
|
-
airbyte_cdk-6.36.
|
363
|
+
airbyte_cdk-6.36.1.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
|
364
|
+
airbyte_cdk-6.36.1.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
|
365
|
+
airbyte_cdk-6.36.1.dist-info/METADATA,sha256=M6sRWwrp7ag_VCNrcA-JX0lQwll_VT2BPXLkpCHe5dA,6010
|
366
|
+
airbyte_cdk-6.36.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
367
|
+
airbyte_cdk-6.36.1.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
|
368
|
+
airbyte_cdk-6.36.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|