Batch API requests? #274
Replies: 3 comments
-
This should be as easy as running |
Beta Was this translation helpful? Give feedback.
-
Unfortunately the batch method isn't discoverable by the Google API, it has a different syntax. It would involve creating request JSONs and then merging them into a single multipart upload, as shown here: https://developers.google.com/drive/api/v3/batch#example Thanks! |
Beta Was this translation helpful? Give feedback.
-
Oh, I see! Thanks for bringing this to my attention. If (or when) the next version of this generator is created to enable proper async-everything, it should be made to allow custom implementations to be added, too, just for these cases. |
Beta Was this translation helpful? Give feedback.
-
One of the things I use in the Python SDK all the time to improve performance is their wrapper around making batch requests:
https://developers.google.com/drive/api/v3/batch
https://developers.google.com/api-client-library/python/guide/batch
I may be missing something, but I don't see any support for batch requests in this library. Is that on the roadmap?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions