From ee2da5ef6e37ea6f13cfc728b99557227034c146 Mon Sep 17 00:00:00 2001 From: Aaron Steers Date: Tue, 26 Mar 2024 16:09:14 -0700 Subject: [PATCH] rename arg to 'wait' --- airbyte/cloud/_workspaces.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/airbyte/cloud/_workspaces.py b/airbyte/cloud/_workspaces.py index 82dcd8e6..bfaa2eff 100644 --- a/airbyte/cloud/_workspaces.py +++ b/airbyte/cloud/_workspaces.py @@ -224,7 +224,8 @@ def delete_connection( def run_sync( self, connection_id: str, - wait_for_job: bool = True, + *, + wait: bool = True, wait_timeout: int = 300, ) -> SyncResult: """Run a sync on a deployed connection.""" @@ -239,7 +240,7 @@ def run_sync( connection_id=connection_response.connection_id, job_id=connection_response.job_id, ) - if wait_for_job: + if wait: sync_result.wait_for_completion( wait_timeout=wait_timeout, raise_failure=True,