Skip to content

Commit a52129a

Browse files
committed
fix syntax/conflict residue and formatting issues in gapic_v1
1 parent c0c5a67 commit a52129a

5 files changed

Lines changed: 6 additions & 11 deletions

File tree

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

Lines changed: 1 addition & 6 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:

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/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
import os
1717
from unittest import mock
18+
1819
import pytest
1920

2021

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
from unittest import mock
1818

1919
import pytest
20-
2120
from google.auth.exceptions import MutualTLSChannelError
2221
from google.auth.transport import mtls
22+
2323
from google.api_core.gapic_v1.client_utils import (
2424
get_api_endpoint,
25+
get_client_cert_source,
2526
get_default_mtls_endpoint,
2627
get_universe_domain,
27-
get_client_cert_source,
28-
use_client_cert_effective,
2928
read_environment_variables,
29+
use_client_cert_effective,
3030
)
3131

3232

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)