semaphoreui-client 0.1.16__tar.gz → 0.1.17__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.1.16 → semaphoreui_client-0.1.17}/PKG-INFO +1 -1
- semaphoreui_client-0.1.17/semaphoreui_client/__about__.py +1 -0
- {semaphoreui_client-0.1.16 → semaphoreui_client-0.1.17}/semaphoreui_client/client.py +7 -6
- semaphoreui_client-0.1.16/semaphoreui_client/__about__.py +0 -1
- {semaphoreui_client-0.1.16 → semaphoreui_client-0.1.17}/.github/workflows/checks.yml +0 -0
- {semaphoreui_client-0.1.16 → semaphoreui_client-0.1.17}/.github/workflows/pre-release.yml +0 -0
- {semaphoreui_client-0.1.16 → semaphoreui_client-0.1.17}/.github/workflows/release.yml +0 -0
- {semaphoreui_client-0.1.16 → semaphoreui_client-0.1.17}/.gitignore +0 -0
- {semaphoreui_client-0.1.16 → semaphoreui_client-0.1.17}/README.md +0 -0
- {semaphoreui_client-0.1.16 → semaphoreui_client-0.1.17}/pyproject.toml +0 -0
- {semaphoreui_client-0.1.16 → semaphoreui_client-0.1.17}/semaphoreui_client/__init__.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: semaphoreui-client
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.17
|
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.1.17"
|
@@ -460,8 +460,8 @@ class SemaphoreUIClient:
|
|
460
460
|
diff: bool,
|
461
461
|
message: str,
|
462
462
|
git_branch: str,
|
463
|
-
limit:
|
464
|
-
|
463
|
+
limit: str,
|
464
|
+
environment: str,
|
465
465
|
playbook: str,
|
466
466
|
) -> "Task":
|
467
467
|
response = self.http.post(
|
@@ -472,7 +472,7 @@ class SemaphoreUIClient:
|
|
472
472
|
"dry_run": dry_run,
|
473
473
|
"diff": diff,
|
474
474
|
"playbook": playbook,
|
475
|
-
"environment":
|
475
|
+
"environment": environment,
|
476
476
|
"limit": limit,
|
477
477
|
"git_branch": git_branch,
|
478
478
|
"message": message,
|
@@ -557,7 +557,7 @@ class SemaphoreUIClient:
|
|
557
557
|
def get_project_task(self, project_id: int, id: int) -> "Task":
|
558
558
|
response = self.http.get(f"{self.api_endpoint}/project/{project_id}/tasks/{id}")
|
559
559
|
assert response.status_code == 200
|
560
|
-
return Task(**response.json(),
|
560
|
+
return Task(**response.json(), client=self)
|
561
561
|
|
562
562
|
def delete_project_task(self, project_id: int, id: int) -> None:
|
563
563
|
response = self.http.delete(
|
@@ -946,7 +946,8 @@ class Template:
|
|
946
946
|
dry_run: bool = False,
|
947
947
|
diff: bool = False,
|
948
948
|
message: str = "",
|
949
|
-
limit:
|
949
|
+
limit: str = "",
|
950
|
+
environment: str = "",
|
950
951
|
) -> "Task":
|
951
952
|
repo = [
|
952
953
|
repo
|
@@ -963,7 +964,7 @@ class Template:
|
|
963
964
|
message,
|
964
965
|
git_branch,
|
965
966
|
limit,
|
966
|
-
|
967
|
+
environment,
|
967
968
|
self.playbook,
|
968
969
|
)
|
969
970
|
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.1.16"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|