You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't we also put this constant in some globals/settings module somewhere? We could even allow people to override it by setting an environment variable or something similar.
Hmm, it is a global really: the 'API_VERSION' is a class attribute of the Connection class in both cases, and is used only by the 'build_api_url()' method of that class as a default when the caller does not pass an argument for 'api_version'.
I can't imagine that the library will continue to work against arbitrary other versions of the API; maybe I'm just not imaginative enough. :)
Activity
tseaver commentedon Sep 22, 2014
The migration guide appears to have no issues which affect our use of the API, beyond changing the API base URL:
https://developers.google.com/storage/docs/json_api/v1/how-tos/migrate
dhermes commentedon Sep 22, 2014
This only occurs twice as of 1f2aaf3:
Shouldn't we also put this constant in some globals/settings module somewhere? We could even allow people to override it by setting an environment variable or something similar.
tseaver commentedon Sep 22, 2014
Hmm, it is a global really: the 'API_VERSION' is a class attribute of the Connection class in both cases, and is used only by the 'build_api_url()' method of that class as a default when the caller does not pass an argument for 'api_version'.
I can't imagine that the library will continue to work against arbitrary other versions of the API; maybe I'm just not imaginative enough. :)
dhermes commentedon Sep 22, 2014
Touche. I suppose allowing folks to tweak it is a bit silly.
Merge pull request googleapis#123 from mbanders/add_str
95 remaining items
fix: loosen tag match for publish_package (#123)
test: move table creation to temporary dataset (#124)
chore: release 1.7.2 (#123)
feat: support autoconversion of Entity to Key for purposes of delete …
chore(python): Add kokoro configs for python 3.10 samples testing (#123)
feat: added hOCR export functionality (#123)
chore: upgrade gapic-generator-python to 0.46.3 (#123)
feat: asyncio microgen transaction (#123)
add spellcheck sphinx extension to docs build process (#123)
Update gcloud in system tests (#123)
docs: explain how to nack a sync pull message (#123)
chore(deps): update actions/checkout action to v3 (#123)
feat: add if*generation*Match support, pt1 (#123)
fix: make plugin more verbose (#123)
chore(deps): update actions/checkout action to v3 (#123)