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

Commit 380b32c

Browse files
committed
lint: fix typing
1 parent bfea5d5 commit 380b32c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • gapic/templates/%namespace/%name_%version/%sub/services/%service/transports

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ class {{ service.name }}Transport(abc.ABC):
3030
self, *,
3131
host: str{% if service.host %} = '{{ service.host }}'{% endif %},
3232
credentials: credentials.Credentials = None,
33-
credentials_file: str = None,
34-
scopes: Optional[typing.Sequence[str]] = AUTH_SCOPES,
33+
credentials_file: typing.Optional[str] = None,
34+
scopes: typing.Optional[typing.Sequence[str]] = AUTH_SCOPES,
3535
**kwargs,
3636
) -> None:
3737
"""Instantiate the transport.

0 commit comments

Comments
 (0)