1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
// This file is autogenerated, DO NOT EDIT
// ml/anomaly-detection/apis/post-calendar-event.asciidoc:132
[source, python]
----
resp = client.ml.post_calendar_events(
calendar_id="dst-germany",
events=[
{
"description": "Fall 2024",
"start_time": 1729994400000,
"end_time": 1730167200000,
"skip_result": False,
"skip_model_update": False,
"force_time_shift": -3600
},
{
"description": "Spring 2025",
"start_time": 1743296400000,
"end_time": 1743469200000,
"skip_result": False,
"skip_model_update": False,
"force_time_shift": 3600
}
],
)
print(resp)
----
|