Skip to content

Commit d81ea63

Browse files
committed
Update packages/google-api-core/google/api_core/gapic_v1/__init__.py
1 parent 36b401d commit d81ea63

1 file changed

Lines changed: 9 additions & 21 deletions

File tree

  • packages/google-api-core/google/api_core/gapic_v1

packages/google-api-core/google/api_core/gapic_v1/__init__.py

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,15 @@
2727
"google.api_core.gapic_v1.client_info",
2828
"google.api_core.gapic_v1.routing_header",
2929
}
30+
__all__ = ["client_info", "routing_header"]
3031

3132
if _has_grpc:
32-
__lazy_modules__.update(
33-
{
34-
"google.api_core.gapic_v1.config",
35-
"google.api_core.gapic_v1.config_async",
36-
"google.api_core.gapic_v1.method",
37-
"google.api_core.gapic_v1.method_async",
38-
}
39-
)
33+
__lazy_modules__.update({
34+
"google.api_core.gapic_v1.config",
35+
"google.api_core.gapic_v1.config_async",
36+
"google.api_core.gapic_v1.method",
37+
"google.api_core.gapic_v1.method_async",
38+
})
4039

4140
from google.api_core.gapic_v1 import client_info # noqa: E402
4241
from google.api_core.gapic_v1 import routing_header # noqa: E402
@@ -47,16 +46,5 @@
4746
from google.api_core.gapic_v1 import method # noqa: F401
4847
from google.api_core.gapic_v1 import method_async # noqa: F401
4948

50-
__all__ = [
51-
"client_info",
52-
"routing_header",
53-
"config",
54-
"config_async",
55-
"method",
56-
"method_async",
57-
]
58-
else:
59-
__all__ = [
60-
"client_info",
61-
"routing_header",
62-
]
49+
__all__.extend(["config", "config_async", "method", "method_async"])
50+

0 commit comments

Comments
 (0)