airbyte-cdk 6.9.1.dev1__py3-none-any.whl → 6.9.1.dev3__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.
@@ -31,17 +31,18 @@ def connector_dir(request: pytest.FixtureRequest) -> Path:
31
31
  print(f"Config root path: {request.config.rootpath}")
32
32
  print(f"Invocation dir: {request.config.invocation_params.dir}")
33
33
  print(f"Current working dir: {os.getcwd()}")
34
- print(f"Test file dir: {getattr(request.module, '__file__', 'No file attribute')}")
35
34
  print(f"Environment variables: {dict(os.environ)}")
36
35
  print(f"Directory contents: {os.listdir(os.getcwd())}")
37
36
  print("==============================\n")
38
37
 
39
38
  path = Path(request.config.invocation_params.dir)
40
- resolved_path = path.parent
41
- print(f"Resolved connector dir: {resolved_path}")
42
- print(f"Resolved dir contents: {os.listdir(resolved_path) if resolved_path.exists() else 'Directory not found'}")
39
+ print(f"Resolved connector dir: {path}")
40
+
41
+ if path.name == "unit_tests":
42
+ return path.parent
43
+ print(f"Resolved dir contents: {os.listdir(path) if path.exists() else 'Directory not found'}")
43
44
 
44
- return resolved_path
45
+ return path
45
46
 
46
47
 
47
48
  @pytest.fixture(scope="session")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 6.9.1.dev1
3
+ Version: 6.9.1.dev3
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -313,7 +313,7 @@ airbyte_cdk/test/state_builder.py,sha256=kLPql9lNzUJaBg5YYRLJlY_Hy5JLHJDVyKPMZMo
313
313
  airbyte_cdk/test/utils/__init__.py,sha256=Hu-1XT2KDoYjDF7-_ziDwv5bY3PueGjANOCbzeOegDg,57
314
314
  airbyte_cdk/test/utils/data.py,sha256=CkCR1_-rujWNmPXFR1IXTMwx1rAl06wAyIKWpDcN02w,820
315
315
  airbyte_cdk/test/utils/http_mocking.py,sha256=F2hpm2q4ijojQN5u2XtgTAp8aNgHgJ64eZNkZ9BW0ig,550
316
- airbyte_cdk/test/utils/manifest_only_fixtures.py,sha256=R5smgqlheUI8b3wUcnOO_TkWw3so1ujUv9J31dvtsvE,2760
316
+ airbyte_cdk/test/utils/manifest_only_fixtures.py,sha256=2O9QlAoqeSsGm6TSZzwS434-48zHhXeNHQ-sLjxva4U,2666
317
317
  airbyte_cdk/test/utils/reading.py,sha256=SOTDYlps6Te9KumfTJ3vVDSm9EUXhvKtE8aD7gvdPlg,965
318
318
  airbyte_cdk/utils/__init__.py,sha256=gHjOCoUkolS_nKtgFSudXUY-ObK2vUo6aNQLvW7o8q8,347
319
319
  airbyte_cdk/utils/airbyte_secrets_utils.py,sha256=wEtRnl5KRhN6eLJwrDrC4FJjyqt_4vkA1F65mdl8c24,3142
@@ -331,8 +331,8 @@ airbyte_cdk/utils/slice_hasher.py,sha256=-pHexlNYoWYPnXNH-M7HEbjmeJe9Zk7SJijdQ7d
331
331
  airbyte_cdk/utils/spec_schema_transformations.py,sha256=-5HTuNsnDBAhj-oLeQXwpTGA0HdcjFOf2zTEMUTTg_Y,816
332
332
  airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
333
333
  airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
334
- airbyte_cdk-6.9.1.dev1.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
335
- airbyte_cdk-6.9.1.dev1.dist-info/METADATA,sha256=Is6NHUF38LCSaMH4rAlCxW3J1WR9vTNSHIEKUzLGHlM,13485
336
- airbyte_cdk-6.9.1.dev1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
337
- airbyte_cdk-6.9.1.dev1.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
338
- airbyte_cdk-6.9.1.dev1.dist-info/RECORD,,
334
+ airbyte_cdk-6.9.1.dev3.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
335
+ airbyte_cdk-6.9.1.dev3.dist-info/METADATA,sha256=0CEjWG2chkzhMDfkTYIee95SKwuHXUuTc3Q_uwB6xBE,13485
336
+ airbyte_cdk-6.9.1.dev3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
337
+ airbyte_cdk-6.9.1.dev3.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
338
+ airbyte_cdk-6.9.1.dev3.dist-info/RECORD,,