Skip to content

Commit 206d68c

Browse files
committed
add debug option for entrypoint wrapper
1 parent 0b4195b commit 206d68c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

airbyte_cdk/test/entrypoint_wrapper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ def read(
373373
expecting_exception: bool | None = None, # Deprecated, use `expected_outcome` instead.
374374
*,
375375
expected_outcome: ExpectedOutcome | None = None,
376+
debug: bool = False,
376377
) -> EntrypointOutput:
377378
"""
378379
config and state must be json serializable
@@ -394,6 +395,8 @@ def read(
394395
"--catalog",
395396
catalog_file,
396397
]
398+
if debug:
399+
args.append("--debug")
397400
if state is not None:
398401
args.extend(
399402
[

0 commit comments

Comments
 (0)