semaphoreui-client 0.2.1__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {semaphoreui_client-0.2.1 → semaphoreui_client-0.2.2}/PKG-INFO +1 -1
- semaphoreui_client-0.2.2/semaphoreui_client/__about__.py +1 -0
- {semaphoreui_client-0.2.1 → semaphoreui_client-0.2.2}/semaphoreui_client/client.py +3 -3
- semaphoreui_client-0.2.1/semaphoreui_client/__about__.py +0 -1
- {semaphoreui_client-0.2.1 → semaphoreui_client-0.2.2}/.github/workflows/checks.yml +0 -0
- {semaphoreui_client-0.2.1 → semaphoreui_client-0.2.2}/.github/workflows/pre-release.yml +0 -0
- {semaphoreui_client-0.2.1 → semaphoreui_client-0.2.2}/.github/workflows/release.yml +0 -0
- {semaphoreui_client-0.2.1 → semaphoreui_client-0.2.2}/.gitignore +0 -0
- {semaphoreui_client-0.2.1 → semaphoreui_client-0.2.2}/README.md +0 -0
- {semaphoreui_client-0.2.1 → semaphoreui_client-0.2.2}/pyproject.toml +0 -0
- {semaphoreui_client-0.2.1 → semaphoreui_client-0.2.2}/semaphoreui_client/__init__.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: semaphoreui-client
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.2
|
4
4
|
Summary: An api client for interacting with Semaphore UI
|
5
5
|
Project-URL: Documentation, https://github.com/rockstar/semaphoreui-client#readme
|
6
6
|
Project-URL: Issues, https://github.com/rockstar/semaphoreui-client/issues
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.2.2"
|
@@ -760,7 +760,7 @@ class Template:
|
|
760
760
|
if limit is not None:
|
761
761
|
params["limit"] = limit
|
762
762
|
response = self.client.http.get(
|
763
|
-
f"{self.url}/
|
763
|
+
f"{self.url}/tasks/last",
|
764
764
|
params=params,
|
765
765
|
)
|
766
766
|
assert response.status_code == 200
|
@@ -847,8 +847,8 @@ class Task:
|
|
847
847
|
def url(self) -> str:
|
848
848
|
return f"{self.client.api_endpoint}/project/{self.project_id}/tasks/{self.id}"
|
849
849
|
|
850
|
-
def stop(self) -> None:
|
851
|
-
response = self.client.http.post(f"{self.url}/stop")
|
850
|
+
def stop(self, force: bool = False) -> None:
|
851
|
+
response = self.client.http.post(f"{self.url}/stop", json={"force": force})
|
852
852
|
assert response.status_code == 204
|
853
853
|
|
854
854
|
def delete(self) -> None:
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.2.1"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|