Skip to content

Commit 3c9cb5a

Browse files
committed
[int]s not strings
1 parent fa8fe72 commit 3c9cb5a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reference/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ def main():
2626

2727
resp = client.search(
2828
index="my-index-000001",
29-
from_="40",
30-
size="20",
29+
from_=40,
30+
size=20,
3131
query={
3232
"term": {
3333
"user.id": "kimchy"
@@ -51,8 +51,8 @@ async def main():
5151

5252
resp = await client.search(
5353
index="my-index-000001",
54-
from_="40",
55-
size="20",
54+
from_=40,
55+
size=20,
5656
query={
5757
"term": {
5858
"user.id": "kimchy"

0 commit comments

Comments
 (0)