mirror of
https://github.com/brygphilomena/pyironscales.git
synced 2025-11-04 16:17:28 +00:00
It was still broken and I had to fix it anyway
This commit is contained in:
parent
b242ca0a2b
commit
efdc6a909e
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "pyironscales"
|
name = "pyironscales"
|
||||||
version = "0.1.3"
|
version = "0.1.4"
|
||||||
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, "*", parent_endpoint=parent_endpoint)
|
IronscalesEndpoint.__init__(self, client, "remediation-statuses/", 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