mirror of
https://github.com/brygphilomena/pyironscales.git
synced 2025-11-04 16:17:28 +00:00
Compare commits
3 Commits
c45bf96447
...
efdc6a909e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
efdc6a909e | ||
|
|
b242ca0a2b | ||
|
|
339b0fea2a |
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "pyironscales"
|
||||
version = "0.1.1"
|
||||
version = "0.1.4"
|
||||
authors = [
|
||||
{ name="Peter Annabel", email="peter.annabel@gmail.com" },
|
||||
]
|
||||
|
||||
@ -14,7 +14,7 @@ class IncidentIdStatsRemediationStatusesEndpoint(
|
||||
IGettable[RemediationStatusesStats, IronscalesRequestParams],
|
||||
):
|
||||
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)
|
||||
|
||||
def get(
|
||||
@ -23,7 +23,7 @@ class IncidentIdStatsRemediationStatusesEndpoint(
|
||||
params: IronscalesRequestParams | None = None,
|
||||
) -> 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:
|
||||
data (dict[str, Any]): The data to send in the request body.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user