We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12f22bb commit dc1e3e4Copy full SHA for dc1e3e4
samples/batch_requests/batch_request_with_content.py
@@ -47,7 +47,10 @@
47
batch_request_item2 = BatchRequestItem(request_information=request_info2)
48
49
# Create a batch request content
50
-batch_request_content = [batch_request_item1, batch_request_item2]
+batch_request_content = {
51
+ batch_request_item1.id: batch_request_item1,
52
+ batch_request_item2.id: batch_request_item2
53
+}
54
batch_content = BatchRequestContent(batch_request_content)
55
56
0 commit comments