Skip to content

Commit e2227a1

Browse files
committed
fix lint/formatting issues and resolve stray conflict markers in gapic_v1/__init__.py
1 parent 9673382 commit e2227a1

4 files changed

Lines changed: 3 additions & 11 deletions

File tree

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,11 @@
2525
# Older Python versions safely ignore this variable.
2626
__lazy_modules__: Set[str] = {
2727
"google.api_core.gapic_v1.client_info",
28-
2928
"google.api_core.gapic_v1.client_utils",
30-
"google.api_core.gapic_v1.routing_header",
31-
}
32-
__all__ = ["client_info", "client_utils", "routing_header"]
33-
=======
3429
"google.api_core.gapic_v1.requests",
3530
"google.api_core.gapic_v1.routing_header",
3631
}
37-
__all__ = ["client_info", "requests", "routing_header"]
32+
__all__ = ["client_info", "client_utils", "requests", "routing_header"]
3833

3934

4035
if _has_grpc:
@@ -51,7 +46,6 @@
5146
client_info,
5247
client_utils,
5348
requests,
54-
5549
routing_header,
5650
)
5751

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
if they are not already set.
2222
"""
2323

24-
from typing import Union
2524
import uuid
25+
from typing import Union
2626

2727
import google.protobuf.message
2828

packages/google-api-core/tests/unit/gapic/test_client_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
from unittest import mock
1717

1818
import pytest
19+
from google.auth.exceptions import MutualTLSChannelError
1920

2021
from google.api_core.gapic_v1.client_utils import (
2122
get_api_endpoint,
2223
get_default_mtls_endpoint,
2324
get_universe_domain,
2425
)
25-
from google.auth.exceptions import MutualTLSChannelError
2626

2727

2828
class MockClient:
@@ -188,7 +188,6 @@ def test_get_api_endpoint(
188188
)
189189

190190

191-
192191
def test__get_universe_domain():
193192
client_universe_domain = "foo.com"
194193
universe_domain_env = "bar.com"

packages/google-api-core/tests/unit/gapic/test_requests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
from google.api_core.gapic_v1.requests import setup_request_id
2121

22-
2322
# --- Mock Request Helper Classes ---
2423

2524

0 commit comments

Comments
 (0)