-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
🚨This issue needs some love.This issue needs some love.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.status: acknowledgedtype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
The libary currently has www.googleapis.com/batch hardcoded as the endpoint for batch API requests unless caller manually sets batch_uri. See:
https://github.com/google/google-api-python-client/blob/master/googleapiclient/http.py#L1089
per Google Developers blog post this universal endpoint is being turned down in favor of per-API endpoints.
library needs to:
- ensure all members of the batch are homogenous (same API) and throw an error if they're not.
- utilize the batchPath from the individual API rather than the generic one, this would be something like:
service._rootDesc['rootUrl'] + service._rootDesc['batchPath']
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.status: acknowledgedtype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.