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

Commit 50efda5

Browse files
software-dovbusunkim96
authored andcommitted
Update base.py.j2
Fight with mypy
1 parent 1004077 commit 50efda5

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
@@ -31,8 +31,8 @@ class {{ service.name }}Transport(abc.ABC):
3131
host: str{% if service.host %} = '{{ service.host }}'{% endif %},
3232
credentials: credentials.Credentials = None,
3333
credentials_file: str = None,
34-
scopes: typing.Sequence[str] = AUTH_SCOPES,
35-
**kwargs,
34+
scopes: Optional[typing.Sequence[str]] = AUTH_SCOPES,
35+
**kwargs,
3636
) -> None:
3737
"""Instantiate the transport.
3838

0 commit comments

Comments
 (0)