File: 783c4fa5351a242364210fc32496beb2.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 (20 lines) | stat: -rw-r--r-- 379 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
// This file is autogenerated, DO NOT EDIT
// docs/concurrency-control.asciidoc:102

[source, python]
----
resp = client.index(
    index="products",
    id="1567",
    if_seq_no="362",
    if_primary_term="2",
    document={
        "product": "r2d2",
        "details": "A resourceful astromech droid",
        "tags": [
            "droid"
        ]
    },
)
print(resp)
----