File: e017c2de6f93a8dd97f5c6e002dd5c4f.asciidoc

package info (click to toggle)
python-elasticsearch 9.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 22,728 kB
  • sloc: python: 104,053; makefile: 151; javascript: 75
file content (28 lines) | stat: -rw-r--r-- 743 bytes parent folder | download | duplicates (2)
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)
----