| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Only a minor, non-blocking comment.
Sorry, something went wrong.
| util.strtobool(os.getenv("GOOGLE_API_USE_CLIENT_CERTIFICATE", "false")) | ||
| ) | ||
|
|
||
| use_client_cert = os.getenv("GOOGLE_API_USE_CLIENT_CERTIFICATE", "false") |
There was a problem hiding this comment.
Might as well us lower() in this assignment so you don't have to repeat it below
(It would be great to cast this to a bool like the previous code was doing, but it seems like too much overhead for the very limited use in a very compact LOC range. The string comparison is OK.)
Sorry, something went wrong.
There was a problem hiding this comment.
Fixed in 614150d
Sorry, something went wrong.
…is/python-api-core into drop-usage-of-distutils
| Back | FazBrowse Home | New Git URL |
Fixes #507 🦕
python-api-core/google/api_core/operations_v1/abstract_operations_client.py
Lines 275 to 280 in 405272c
This is the same behaviour that exists in gapic-generator-python here https://github.com/googleapis/gapic-generator-python/blob/45f18a69454bcff68c0f98535c68fbdb4e09db1d/gapic/templates/%25namespace/%25name_%25version/%25sub/services/%25service/client.py.j2#L253-L256