mirror of
https://github.com/brygphilomena/pyironscales.git
synced 2025-11-04 16:17:28 +00:00
Compare commits
No commits in common. "efdc6a909ec0f8de997a88c1af4af5fba7f38753" and "c45bf964473b30c7ef0b205c8664f7e3407e6c3e" have entirely different histories.
efdc6a909e
...
c45bf96447
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "pyironscales"
|
name = "pyironscales"
|
||||||
version = "0.1.4"
|
version = "0.1.1"
|
||||||
authors = [
|
authors = [
|
||||||
{ name="Peter Annabel", email="peter.annabel@gmail.com" },
|
{ name="Peter Annabel", email="peter.annabel@gmail.com" },
|
||||||
]
|
]
|
||||||
|
|||||||
@ -14,7 +14,7 @@ class IncidentIdStatsRemediationStatusesEndpoint(
|
|||||||
IGettable[RemediationStatusesStats, IronscalesRequestParams],
|
IGettable[RemediationStatusesStats, IronscalesRequestParams],
|
||||||
):
|
):
|
||||||
def __init__(self, client, parent_endpoint=None) -> None:
|
def __init__(self, client, parent_endpoint=None) -> None:
|
||||||
IronscalesEndpoint.__init__(self, client, "remediation-statuses/", parent_endpoint=parent_endpoint)
|
IronscalesEndpoint.__init__(self, client, "*", parent_endpoint=parent_endpoint)
|
||||||
IGettable.__init__(self, RemediationStatusesStats)
|
IGettable.__init__(self, RemediationStatusesStats)
|
||||||
|
|
||||||
def get(
|
def get(
|
||||||
@ -23,7 +23,7 @@ class IncidentIdStatsRemediationStatusesEndpoint(
|
|||||||
params: IronscalesRequestParams | None = None,
|
params: IronscalesRequestParams | None = None,
|
||||||
) -> RemediationStatusesStats:
|
) -> RemediationStatusesStats:
|
||||||
"""
|
"""
|
||||||
Performs a GET request against the /incident/{id}/stats/remediation-statuses/ endpoint.
|
Performs a GET request against the /incident/{id}/stats/remediation-statuses endpoint.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
data (dict[str, Any]): The data to send in the request body.
|
data (dict[str, Any]): The data to send in the request body.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user