Skip to content

Commit

Permalink
add check for directory exists
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers committed Nov 12, 2024
1 parent 16830d5 commit 4fb5a20
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ async def apply_python_development_overrides(context: ConnectorContext, connecto
# mount the local cdk
# Assume CDK is cloned in a sibling dir to `airbyte`:
path_to_cdk = str(Path("../airbyte-python-cdk").resolve())
if not Path(path_to_cdk).exists():
raise FileExistsError(f"Local CDK not found at '{path_to_cdk}'")

directory_to_mount = context.get_repo_dir(path_to_cdk)
cdk_mount_dir = "/airbyte-cdk/python"

Expand Down

0 comments on commit 4fb5a20

Please sign in to comment.