Skip to content

Conversation

daniel-sanche
Copy link
Contributor

Checks for the DISABLE_GRPC env var before importing grpc code. We can avoid importing a bunch of code if it is not needed

Fixes #12

@daniel-sanche daniel-sanche requested review from a team as code owners October 11, 2021 22:04
@product-auto-label product-auto-label bot added the api: logging Issues related to the googleapis/python-logging API. label Oct 11, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 11, 2021
@daniel-sanche daniel-sanche changed the title feat: avoid grpc import when explicitly disabled feat: avoid importing grpc when explicitly disabled Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: logging Issues related to the googleapis/python-logging API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants