Commit 9cd6742
authored
fix: Conditionally import requests only if no request was passed by the caller. (#1456)
This resolves https://togithub.com/googleapis/google-auth-library-python/issues/1455.
The repo-wide pattern is to only import the requests module at runtime as a fallback.1 parent c33f308 commit 9cd6742
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
282 | 281 | | |
283 | 282 | | |
284 | 283 | | |
| 284 | + | |
| 285 | + | |
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
| |||
Binary file not shown.
0 commit comments