Repository navigation
auth-5.6.1
·
7 commits
to master
since this release
Token.get_project()now caches the project it resolves on the token instance. With GCE-metadata credentials it used to query the metadata server on every call; now only the first call does, and later calls reuse the result. Service-account credentials store theirproject_idthe same way. The environment-variable overrides are still checked first on every call, so they keep taking precedence. No API changes.- perf(auth): cache Token.get_project()'s resolved project (#1126)