Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions airbyte_cdk/test/entrypoint_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ class AirbyteEntrypointException(Exception):
raise output.as_exception()
"""

message: str = ""

def __post_init__(self) -> None:
# Propagate the message to Exception so that `str(self)` and `.args`
# behave like a regular exception.
super().__init__(self.message)

class EntrypointOutput:
"""A class to encapsulate the output of an Airbyte connector's execution.
Expand Down
Loading