Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 13f764c

Browse files
authored
fix: unignore 'google.api_core' imports (#1066)
1 parent c1a27f3 commit 13f764c

42 files changed

Lines changed: 140 additions & 140 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

gapic/ads-templates/%namespace/%name/%version/%sub/services/%service/client.py.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import pkg_resources
1212
import warnings
1313
{% endif %}
1414

15-
from google.api_core import client_options as client_options_lib # type: ignore
16-
from google.api_core import exceptions as core_exceptions # type: ignore
17-
from google.api_core import gapic_v1 # type: ignore
18-
from google.api_core import retry as retries # type: ignore
15+
from google.api_core import client_options as client_options_lib
16+
from google.api_core import exceptions as core_exceptions
17+
from google.api_core import gapic_v1
18+
from google.api_core import retry as retries
1919
from google.auth import credentials as ga_credentials # type: ignore
2020
from google.auth.transport import mtls # type: ignore
2121
from google.auth.transport.grpc import SslCredentials # type: ignore

gapic/ads-templates/%namespace/%name/%version/%sub/services/%service/transports/base.py.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import typing
77
import pkg_resources
88

99
import google.auth # type: ignore
10-
from google.api_core import gapic_v1 # type: ignore
11-
from google.api_core import retry as retries # type: ignore
10+
from google.api_core import gapic_v1
11+
from google.api_core import retry as retries
1212
{% if service.has_lro %}
13-
from google.api_core import operations_v1 # type: ignore
13+
from google.api_core import operations_v1
1414
{% endif %}
1515
from google.auth import credentials as ga_credentials # type: ignore
1616

gapic/ads-templates/%namespace/%name/%version/%sub/services/%service/transports/grpc.py.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
import warnings
66
from typing import Callable, Dict, Optional, Sequence, Tuple
77

8-
from google.api_core import grpc_helpers # type: ignore
8+
from google.api_core import grpc_helpers
99
{% if service.has_lro %}
10-
from google.api_core import operations_v1 # type: ignore
10+
from google.api_core import operations_v1
1111
{% endif %}
12-
from google.api_core import gapic_v1 # type: ignore
12+
from google.api_core import gapic_v1
1313
import google.auth # type: ignore
1414
from google.auth import credentials as ga_credentials # type: ignore
1515
from google.auth.transport.grpc import SslCredentials # type: ignore

gapic/schema/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from typing import Callable, Container, Dict, FrozenSet, Mapping, Optional, Sequence, Set, Tuple
2727
from types import MappingProxyType
2828

29-
from google.api_core import exceptions # type: ignore
29+
from google.api_core import exceptions
3030
from google.api import resource_pb2 # type: ignore
3131
from google.gapic.metadata import gapic_metadata_pb2 # type: ignore
3232
from google.longrunning import operations_pb2 # type: ignore

gapic/schema/wrappers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
from google.api import field_behavior_pb2
4040
from google.api import http_pb2
4141
from google.api import resource_pb2
42-
from google.api_core import exceptions # type: ignore
43-
from google.api_core import path_template # type: ignore
42+
from google.api_core import exceptions
43+
from google.api_core import path_template
4444
from google.protobuf import descriptor_pb2 # type: ignore
4545
from google.protobuf.json_format import MessageToDict # type: ignore
4646

gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import pkg_resources
1111
import warnings
1212
{% endif %}
1313

14-
from google.api_core.client_options import ClientOptions # type: ignore
15-
from google.api_core import exceptions as core_exceptions # type: ignore
16-
from google.api_core import gapic_v1 # type: ignore
17-
from google.api_core import retry as retries # type: ignore
14+
from google.api_core.client_options import ClientOptions
15+
from google.api_core import exceptions as core_exceptions
16+
from google.api_core import gapic_v1
17+
from google.api_core import retry as retries
1818
from google.auth import credentials as ga_credentials # type: ignore
1919
from google.oauth2 import service_account # type: ignore
2020

gapic/templates/%namespace/%name_%version/%sub/services/%service/client.py.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import pkg_resources
1212
import warnings
1313
{% endif %}
1414

15-
from google.api_core import client_options as client_options_lib # type: ignore
16-
from google.api_core import exceptions as core_exceptions # type: ignore
17-
from google.api_core import gapic_v1 # type: ignore
18-
from google.api_core import retry as retries # type: ignore
15+
from google.api_core import client_options as client_options_lib
16+
from google.api_core import exceptions as core_exceptions
17+
from google.api_core import gapic_v1
18+
from google.api_core import retry as retries
1919
from google.auth import credentials as ga_credentials # type: ignore
2020
from google.auth.transport import mtls # type: ignore
2121
from google.auth.transport.grpc import SslCredentials # type: ignore

gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/base.py.j2

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
77
import pkg_resources
88

99
import google.auth # type: ignore
10-
import google.api_core # type: ignore
11-
from google.api_core import exceptions as core_exceptions # type: ignore
12-
from google.api_core import gapic_v1 # type: ignore
13-
from google.api_core import retry as retries # type: ignore
10+
import google.api_core
11+
from google.api_core import exceptions as core_exceptions
12+
from google.api_core import gapic_v1
13+
from google.api_core import retry as retries
1414
{% if service.has_lro %}
15-
from google.api_core import operations_v1 # type: ignore
15+
from google.api_core import operations_v1
1616
{% endif %}
1717
from google.auth import credentials as ga_credentials # type: ignore
1818
from google.oauth2 import service_account # type: ignore

gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/grpc.py.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
import warnings
66
from typing import Callable, Dict, Optional, Sequence, Tuple, Union
77

8-
from google.api_core import grpc_helpers # type: ignore
8+
from google.api_core import grpc_helpers
99
{% if service.has_lro %}
10-
from google.api_core import operations_v1 # type: ignore
10+
from google.api_core import operations_v1
1111
{% endif %}
12-
from google.api_core import gapic_v1 # type: ignore
12+
from google.api_core import gapic_v1
1313
import google.auth # type: ignore
1414
from google.auth import credentials as ga_credentials # type: ignore
1515
from google.auth.transport.grpc import SslCredentials # type: ignore

gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/grpc_asyncio.py.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
import warnings
66
from typing import Awaitable, Callable, Dict, Optional, Sequence, Tuple, Union
77

8-
from google.api_core import gapic_v1 # type: ignore
9-
from google.api_core import grpc_helpers_async # type: ignore
8+
from google.api_core import gapic_v1
9+
from google.api_core import grpc_helpers_async
1010
{% if service.has_lro %}
11-
from google.api_core import operations_v1 # type: ignore
11+
from google.api_core import operations_v1
1212
{% endif %}
1313
from google.auth import credentials as ga_credentials # type: ignore
1414
from google.auth.transport.grpc import SslCredentials # type: ignore

0 commit comments

Comments
 (0)