Skip to content

Commit

Permalink
[dagster-airbyte] Implement base sync method in AirbyteCloudClient
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Dec 12, 2024
1 parent 65751c7 commit a831f47
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,16 @@ def get_destination_details(self, destination_id: str) -> Mapping[str, Any]:
base_url=self.rest_api_base_url,
)

def start_sync_job(self, connection_id: str) -> Mapping[str, Any]:
return self._make_request(
endpoint="jobs",
data={
"connectionId": connection_id,
"jobType": "sync",
},
)



@experimental
class AirbyteCloudWorkspace(ConfigurableResource):
Expand Down

0 comments on commit a831f47

Please sign in to comment.