googleapis / google-auth-library-python

Google Auth Python Library
https://googleapis.dev/python/google-auth/latest/
Apache License 2.0
755 stars 303 forks source link

fix: make requests import conditional for gce universe domain #1476

Closed sai-sunder-s closed 5 months ago

sai-sunder-s commented 5 months ago

In #1433 a dependency for requests was introduced unconditionally i.e. requests lib was required for anyone use gce mds even if they are not using TPC. This PR makes the import conditional.