airbyte-cdk 6.56.0__py3-none-any.whl → 6.56.2__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/test/models/outcome.py +4 -1
- airbyte_cdk/utils/connector_paths.py +3 -0
- {airbyte_cdk-6.56.0.dist-info → airbyte_cdk-6.56.2.dist-info}/METADATA +2 -2
- {airbyte_cdk-6.56.0.dist-info → airbyte_cdk-6.56.2.dist-info}/RECORD +8 -8
- {airbyte_cdk-6.56.0.dist-info → airbyte_cdk-6.56.2.dist-info}/LICENSE.txt +0 -0
- {airbyte_cdk-6.56.0.dist-info → airbyte_cdk-6.56.2.dist-info}/LICENSE_SHORT +0 -0
- {airbyte_cdk-6.56.0.dist-info → airbyte_cdk-6.56.2.dist-info}/WHEEL +0 -0
- {airbyte_cdk-6.56.0.dist-info → airbyte_cdk-6.56.2.dist-info}/entry_points.txt +0 -0
@@ -32,9 +32,12 @@ class ExpectedOutcome(Enum):
|
|
32
32
|
return {
|
33
33
|
"succeed": ExpectedOutcome.EXPECT_SUCCESS,
|
34
34
|
"failed": ExpectedOutcome.EXPECT_EXCEPTION,
|
35
|
+
"exception": ExpectedOutcome.EXPECT_EXCEPTION, # same as 'failed'
|
35
36
|
}[status]
|
36
37
|
except KeyError as ex:
|
37
|
-
raise ValueError(
|
38
|
+
raise ValueError(
|
39
|
+
f"Invalid status '{status}'. Expected 'succeed', 'failed', or 'exception'.",
|
40
|
+
) from ex
|
38
41
|
|
39
42
|
@classmethod
|
40
43
|
def from_expecting_exception_bool(cls, expecting_exception: bool | None) -> ExpectedOutcome:
|
@@ -69,6 +69,9 @@ def resolve_airbyte_repo_root(
|
|
69
69
|
|
70
70
|
current_dir = from_dir.resolve().absolute()
|
71
71
|
while current_dir != current_dir.parent: # abort when we reach file system root
|
72
|
+
if _is_airbyte_repo_root(current_dir):
|
73
|
+
return current_dir
|
74
|
+
|
72
75
|
found_dir = _find_in_adjacent_dirs(current_dir)
|
73
76
|
if found_dir:
|
74
77
|
return found_dir
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: airbyte-cdk
|
3
|
-
Version: 6.56.
|
3
|
+
Version: 6.56.2
|
4
4
|
Summary: A framework for writing Airbyte Connectors.
|
5
5
|
Home-page: https://airbyte.com
|
6
6
|
License: MIT
|
@@ -23,7 +23,7 @@ Provides-Extra: sql
|
|
23
23
|
Provides-Extra: vector-db-based
|
24
24
|
Requires-Dist: Jinja2 (>=3.1.2,<3.2.0)
|
25
25
|
Requires-Dist: PyYAML (>=6.0.1,<7.0.0)
|
26
|
-
Requires-Dist: airbyte-protocol-models-dataclasses (>=0.
|
26
|
+
Requires-Dist: airbyte-protocol-models-dataclasses (>=0.17.1,<0.18.0)
|
27
27
|
Requires-Dist: anyascii (>=0.3.2,<0.4.0)
|
28
28
|
Requires-Dist: avro (>=1.11.2,<1.13.0) ; extra == "file-based"
|
29
29
|
Requires-Dist: backoff
|
@@ -387,7 +387,7 @@ airbyte_cdk/test/mock_http/request.py,sha256=tdB8cqk2vLgCDTOKffBKsM06llYs4ZecgtH
|
|
387
387
|
airbyte_cdk/test/mock_http/response.py,sha256=s4-cQQqTtmeej0pQDWqmG0vUWpHS-93lIWMpW3zSVyU,662
|
388
388
|
airbyte_cdk/test/mock_http/response_builder.py,sha256=F-v7ebftqGj7YVIMLKdodmU9U8Dq8aIyllWGo2NGwHc,8331
|
389
389
|
airbyte_cdk/test/models/__init__.py,sha256=5f5oFcuUA3dyNTfvvTWav2pTD8WX4nznObKgMTmvdus,290
|
390
|
-
airbyte_cdk/test/models/outcome.py,sha256=
|
390
|
+
airbyte_cdk/test/models/outcome.py,sha256=niSX6gkP4P-_kQUF1jkbBXq72FC3Rtkvtdl0gJsUyho,2263
|
391
391
|
airbyte_cdk/test/models/scenario.py,sha256=vteWvKdinrrDurSnG5Xk478edgJJ9-hvdll0Ufoouu4,5940
|
392
392
|
airbyte_cdk/test/standard_tests/__init__.py,sha256=TGCSc9bqfiEhdfyz7SVqwBog2CsCY1unCXocSXswtV0,1369
|
393
393
|
airbyte_cdk/test/standard_tests/_job_runner.py,sha256=vTuLJiJv-LBqXLfcr7RaTm0HBH4y7L8U6tDv3qYdTkg,6195
|
@@ -407,7 +407,7 @@ airbyte_cdk/test/utils/reading.py,sha256=9ReW2uoITE7NCpVBKn6EfM9yi9_SvqhsNLb-5LO
|
|
407
407
|
airbyte_cdk/utils/__init__.py,sha256=qhnC02DbS35OY8oB_tkYHwZzHed2FZeBM__G8IOgckY,347
|
408
408
|
airbyte_cdk/utils/airbyte_secrets_utils.py,sha256=wEtRnl5KRhN6eLJwrDrC4FJjyqt_4vkA1F65mdl8c24,3142
|
409
409
|
airbyte_cdk/utils/analytics_message.py,sha256=bi3uugQ2NjecnwTnz63iD5D1M8ZR8mXPbdtt6w5cC4s,653
|
410
|
-
airbyte_cdk/utils/connector_paths.py,sha256=
|
410
|
+
airbyte_cdk/utils/connector_paths.py,sha256=j7tOBBGbQqzR3Xsrqtt1Dm0pMAmCdnSe0dchmknfbgI,8787
|
411
411
|
airbyte_cdk/utils/constants.py,sha256=QzCi7j5SqpI5I06uRvQ8FC73JVJi7rXaRnR3E_gro5c,108
|
412
412
|
airbyte_cdk/utils/datetime_format_inferrer.py,sha256=Ne2cpk7Tx3eZDEW2Q3O7jnNOY9g-w-AUMt3Ltvwg1tY,3989
|
413
413
|
airbyte_cdk/utils/datetime_helpers.py,sha256=8mqzZ67Or2PBp7tLtrhh6XFv4wFzYsjCL_DOQJRaftI,17751
|
@@ -423,9 +423,9 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EDxgROHDbfG-QKQb59m7h_7crN1tRiawdf5uU7G
|
|
423
423
|
airbyte_cdk/utils/spec_schema_transformations.py,sha256=-5HTuNsnDBAhj-oLeQXwpTGA0HdcjFOf2zTEMUTTg_Y,816
|
424
424
|
airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
|
425
425
|
airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
|
426
|
-
airbyte_cdk-6.56.
|
427
|
-
airbyte_cdk-6.56.
|
428
|
-
airbyte_cdk-6.56.
|
429
|
-
airbyte_cdk-6.56.
|
430
|
-
airbyte_cdk-6.56.
|
431
|
-
airbyte_cdk-6.56.
|
426
|
+
airbyte_cdk-6.56.2.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
|
427
|
+
airbyte_cdk-6.56.2.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
|
428
|
+
airbyte_cdk-6.56.2.dist-info/METADATA,sha256=-gFkOwpGpcuhV8yuB1wcNV6rKVZKrvspWWdFKRGJgmk,6392
|
429
|
+
airbyte_cdk-6.56.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
430
|
+
airbyte_cdk-6.56.2.dist-info/entry_points.txt,sha256=AKWbEkHfpzzk9nF9tqBUaw1MbvTM4mGtEzmZQm0ZWvM,139
|
431
|
+
airbyte_cdk-6.56.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|