airbyte-cdk 0.69.2__py3-none-any.whl → 0.70.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- airbyte_cdk/sources/file_based/config/csv_format.py +1 -1
- {airbyte_cdk-0.69.2.dist-info → airbyte_cdk-0.70.1.dist-info}/METADATA +1 -1
- {airbyte_cdk-0.69.2.dist-info → airbyte_cdk-0.70.1.dist-info}/RECORD +7 -7
- unit_tests/sources/file_based/config/test_csv_format.py +2 -1
- {airbyte_cdk-0.69.2.dist-info → airbyte_cdk-0.70.1.dist-info}/LICENSE.txt +0 -0
- {airbyte_cdk-0.69.2.dist-info → airbyte_cdk-0.70.1.dist-info}/WHEEL +0 -0
- {airbyte_cdk-0.69.2.dist-info → airbyte_cdk-0.70.1.dist-info}/top_level.txt +0 -0
@@ -151,7 +151,7 @@ class CsvFormat(BaseModel):
|
|
151
151
|
@validator("delimiter")
|
152
152
|
def validate_delimiter(cls, v: str) -> str:
|
153
153
|
if v == r"\t":
|
154
|
-
|
154
|
+
v = "\t"
|
155
155
|
if len(v) != 1:
|
156
156
|
raise ValueError("delimiter should only be one character")
|
157
157
|
if v in {"\r", "\n"}:
|
@@ -164,7 +164,7 @@ airbyte_cdk/sources/file_based/availability_strategy/default_file_based_availabi
|
|
164
164
|
airbyte_cdk/sources/file_based/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
165
165
|
airbyte_cdk/sources/file_based/config/abstract_file_based_spec.py,sha256=dgOoQuoi7-7wdTMSP7wz4ENXIDT49Ew4FoAxnnplGGc,4956
|
166
166
|
airbyte_cdk/sources/file_based/config/avro_format.py,sha256=q1I2G9bGNy3ADds35PfWT7Mss6fjYzUtYDkUYvh5v7s,712
|
167
|
-
airbyte_cdk/sources/file_based/config/csv_format.py,sha256=
|
167
|
+
airbyte_cdk/sources/file_based/config/csv_format.py,sha256=kYFlmt7nPIzFzt3ghYBHGN88mmU1Ttj_1GdJ3AhNhCo,7526
|
168
168
|
airbyte_cdk/sources/file_based/config/file_based_stream_config.py,sha256=l9DFyttYbxY9exwy67WzRXySEk_yKV2G_THRA_Sq1I4,4229
|
169
169
|
airbyte_cdk/sources/file_based/config/jsonl_format.py,sha256=fAPzZnoghGgHjaDvx6Qo68C8j54mBxo1NTdpwSI0VZo,374
|
170
170
|
airbyte_cdk/sources/file_based/config/parquet_format.py,sha256=yKHgXYu3zJWrGfBlJ3JQZ3gVFPumF-K4rjVPNoYTUZ0,737
|
@@ -381,7 +381,7 @@ unit_tests/sources/file_based/availability_strategy/__init__.py,sha256=47DEQpj8H
|
|
381
381
|
unit_tests/sources/file_based/availability_strategy/test_default_file_based_availability_strategy.py,sha256=14ffoRWC4RHPrmBFZpplnAd1Uezn8neuQrIyZqvjTK0,4964
|
382
382
|
unit_tests/sources/file_based/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
383
383
|
unit_tests/sources/file_based/config/test_abstract_file_based_spec.py,sha256=_9Gr1r0dR-dpqQlciG8VuS6ziuCYBjpPvGEiYvS7s7w,1169
|
384
|
-
unit_tests/sources/file_based/config/test_csv_format.py,sha256=
|
384
|
+
unit_tests/sources/file_based/config/test_csv_format.py,sha256=avSMRRG0REp_R2E6MZDZKJHAVPPVG4JkbEZeISEnjdM,1343
|
385
385
|
unit_tests/sources/file_based/config/test_file_based_stream_config.py,sha256=aDVLvD5ngKJiLMyAO5tSJFCc026tVlqTUGGASnTeKBI,3320
|
386
386
|
unit_tests/sources/file_based/discovery_policy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
387
387
|
unit_tests/sources/file_based/discovery_policy/test_default_discovery_policy.py,sha256=RTbPxseKWNLzASeOSxxX72APJoIFm8VpQM9Ok7NE5C0,1132
|
@@ -459,8 +459,8 @@ unit_tests/utils/test_schema_inferrer.py,sha256=Z2jHBZ540wnYkylIdV_2xr75Vtwlxuyg
|
|
459
459
|
unit_tests/utils/test_secret_utils.py,sha256=CdKK8A2-5XVxbXVtX22FK9dwwMeP5KNqDH6luWRXSNw,5256
|
460
460
|
unit_tests/utils/test_stream_status_utils.py,sha256=Xr8MZ2HWgTVIyMbywDvuYkRaUF4RZLQOT8-JjvcfR24,2970
|
461
461
|
unit_tests/utils/test_traced_exception.py,sha256=bDFP5zMBizFenz6V2WvEZTRCKGB5ijh3DBezjbfoYIs,4198
|
462
|
-
airbyte_cdk-0.
|
463
|
-
airbyte_cdk-0.
|
464
|
-
airbyte_cdk-0.
|
465
|
-
airbyte_cdk-0.
|
466
|
-
airbyte_cdk-0.
|
462
|
+
airbyte_cdk-0.70.1.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
|
463
|
+
airbyte_cdk-0.70.1.dist-info/METADATA,sha256=nkeZ3hIj87YQKQk4N-enxA9cOtgYSjrZF-Rx0wfFgLQ,11074
|
464
|
+
airbyte_cdk-0.70.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
465
|
+
airbyte_cdk-0.70.1.dist-info/top_level.txt,sha256=edvsDKTnE6sD2wfCUaeTfKf5gQIL6CPVMwVL2sWZzqo,51
|
466
|
+
airbyte_cdk-0.70.1.dist-info/RECORD,,
|
@@ -30,4 +30,5 @@ class CsvHeaderDefinitionTest(unittest.TestCase):
|
|
30
30
|
|
31
31
|
class CsvDelimiterTest(unittest.TestCase):
|
32
32
|
def test_tab_delimter(self):
|
33
|
-
assert CsvFormat(delimiter=r"\t").delimiter == '
|
33
|
+
assert CsvFormat(delimiter=r"\t").delimiter == '\t'
|
34
|
+
assert len(CsvFormat(delimiter=r"\t").delimiter) == 1
|
File without changes
|
File without changes
|
File without changes
|