Skip to content

Commit e646bcd

Browse files
committed
feat(auth): Implement PEP 0810 lazy loading in transport
1 parent a5a717d commit e646bcd

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

packages/google-auth/google/auth/transport/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@
2424
for the return value of :class:`Request`.
2525
"""
2626

27+
__lazy_modules__ = {
28+
f"{__name__}._aiohttp_requests",
29+
f"{__name__}._custom_tls_signer",
30+
f"{__name__}._http_client",
31+
f"{__name__}._mtls_helper",
32+
f"{__name__}._requests_base",
33+
f"{__name__}.grpc",
34+
f"{__name__}.mtls",
35+
f"{__name__}.requests",
36+
f"{__name__}.urllib3",
37+
}
38+
2739
import abc
2840
import http.client as http_client
2941

0 commit comments

Comments
 (0)