semaphoreui-client 0.1.18__py3-none-any.whl → 0.1.19__py3-none-any.whl
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/__about__.py +1 -1
- semaphoreui_client/client.py +3 -3
- {semaphoreui_client-0.1.18.dist-info → semaphoreui_client-0.1.19.dist-info}/METADATA +1 -1
- semaphoreui_client-0.1.19.dist-info/RECORD +6 -0
- semaphoreui_client-0.1.18.dist-info/RECORD +0 -6
- {semaphoreui_client-0.1.18.dist-info → semaphoreui_client-0.1.19.dist-info}/WHEEL +0 -0
semaphoreui_client/__about__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.1.
|
1
|
+
__version__ = "0.1.19"
|
semaphoreui_client/client.py
CHANGED
@@ -565,12 +565,12 @@ class SemaphoreUIClient:
|
|
565
565
|
)
|
566
566
|
assert response.status_code == 204
|
567
567
|
|
568
|
-
def get_project_task_output(self, project_id: int, id: int) -> str:
|
568
|
+
def get_project_task_output(self, project_id: int, id: int) -> typing.List[str]:
|
569
569
|
response = self.http.get(
|
570
570
|
f"{self.api_endpoint}/project/{project_id}/tasks/{id}/output"
|
571
571
|
)
|
572
572
|
assert response.status_code == 200
|
573
|
-
return
|
573
|
+
return [data["output"] for data in response.json()]
|
574
574
|
|
575
575
|
|
576
576
|
@dataclass
|
@@ -1043,5 +1043,5 @@ class Task:
|
|
1043
1043
|
def delete(self) -> None:
|
1044
1044
|
self.client.delete_project_task(self.project_id, self.id)
|
1045
1045
|
|
1046
|
-
def output(self) -> str:
|
1046
|
+
def output(self) -> typing.List[str]:
|
1047
1047
|
return self.client.get_project_task_output(self.project_id, self.id)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: semaphoreui-client
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.19
|
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,6 @@
|
|
1
|
+
semaphoreui_client/__about__.py,sha256=cAJAbAh288a9AL-3yxwFzEM1L26izSJ6wma5aiml_9Y,23
|
2
|
+
semaphoreui_client/__init__.py,sha256=VpeJavEFhs5gyfih7CoRTR4K4IGXGY3UYUkgAWj_f2U,56
|
3
|
+
semaphoreui_client/client.py,sha256=fKOt6sbPM9yhgG__vZIoQ6Gt6oy3r3V-zS-XNpBWkmM,32621
|
4
|
+
semaphoreui_client-0.1.19.dist-info/METADATA,sha256=gCEzNtn83lrduCiyWsvVurzNnOiezO5hfzJE7p-lRlM,1633
|
5
|
+
semaphoreui_client-0.1.19.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
6
|
+
semaphoreui_client-0.1.19.dist-info/RECORD,,
|
@@ -1,6 +0,0 @@
|
|
1
|
-
semaphoreui_client/__about__.py,sha256=6BiuMUkhwQp6bzUZSF8np8F1NwCltEtK0sPBF__tepU,23
|
2
|
-
semaphoreui_client/__init__.py,sha256=VpeJavEFhs5gyfih7CoRTR4K4IGXGY3UYUkgAWj_f2U,56
|
3
|
-
semaphoreui_client/client.py,sha256=K7sqvD9Ybs9NMNeGhBcSkByhxYkP1U2jGDjbnasmUtw,32604
|
4
|
-
semaphoreui_client-0.1.18.dist-info/METADATA,sha256=z2An9hskFJew-U3KOKvRn6m2x6oraQi3vRe3wUY0poQ,1633
|
5
|
-
semaphoreui_client-0.1.18.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
6
|
-
semaphoreui_client-0.1.18.dist-info/RECORD,,
|
File without changes
|