File tree Expand file tree Collapse file tree
packages/google-auth/google/auth/transport Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333
3434_LOGGER = logging .getLogger (__name__ )
3535
36+ # PEP 0810: Explicit Lazy Imports
37+ # Python 3.15+ natively intercepts and defers these imports.
38+ # Developers can disable this behavior and force eager imports.
39+ # For more information, see:
40+ # https://docs.python.org/3.15/library/sys.html#sys.set_lazy_imports_filter
41+ # Older Python versions safely ignore this variable.
3642__lazy_modules__ : Set [str ] = {"grpc" }
3743
3844
Original file line number Diff line number Diff line change 4242import google .auth .transport ._mtls_helper
4343from google .oauth2 import service_account
4444
45+ # PEP 0810: Explicit Lazy Imports
46+ # Python 3.15+ natively intercepts and defers these imports.
47+ # Developers can disable this behavior and force eager imports.
48+ # For more information, see:
49+ # https://docs.python.org/3.15/library/sys.html#sys.set_lazy_imports_filter
50+ # Older Python versions safely ignore this variable.
4551__lazy_modules__ : Set [str ] = {"requests" , "requests.adapters" , "requests.exceptions" }
4652
4753_LOGGER = logging .getLogger (__name__ )
Original file line number Diff line number Diff line change 5858from google .auth .transport import _mtls_helper
5959from google .oauth2 import service_account
6060
61+ # PEP 0810: Explicit Lazy Imports
62+ # Python 3.15+ natively intercepts and defers these imports.
63+ # Developers can disable this behavior and force eager imports.
64+ # For more information, see:
65+ # https://docs.python.org/3.15/library/sys.html#sys.set_lazy_imports_filter
66+ # Older Python versions safely ignore this variable.
6167__lazy_modules__ : Set [str ] = {
6268 "urllib3" ,
6369 "urllib3.exceptions" ,
You can’t perform that action at this time.
0 commit comments