import dateutil.parser
import os
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.incidents.update(incident_id=656776, service_incident_request={
"organization_id": 857478,
"sub_organization_id": 597129,
"sub_organization": "<value>",
"description": "hydrolyze for drat underneath sticky",
"start_datetime": dateutil.parser.isoparse("2023-03-21T03:40:17.460Z"),
"resolution_datetime": dateutil.parser.isoparse("2023-06-16T09:40:21.633Z"),
"impact_category": "<value>",
"sessions_impacted": 342070,
"markdown": "<value>",
})
print(res)