Skip to content

Commit

Permalink
[dagster-airbyte] Implement cancel_job method in AirbyteCloudClient
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Dec 17, 2024
1 parent ff5bc7d commit f5425ab
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,9 @@ def get_job_details(self, job_id: int) -> Mapping[str, Any]:
method="GET", endpoint=f"jobs/{job_id}", base_url=self.rest_api_base_url
)

def cancel_job(self, job_id: int) -> Mapping[str, Any]:
return self.make_request(method="DELETE", endpoint=f"jobs/{job_id}")


@experimental
class AirbyteCloudWorkspace(ConfigurableResource):
Expand Down

0 comments on commit f5425ab

Please sign in to comment.