Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit374f17e

Browse files
committed
fixed mypy issues
1 parent7498f2b commit374f17e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎google/api_core/retry/retry_streaming.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ def retry_target_stream(
5959
[List[Exception],RetryFailureReason,Optional[float]],
6060
Tuple[Exception,Optional[Exception]],
6161
]=build_retry_error,
62-
init_args:_P.args= (),
63-
init_kwargs:_P.kwargs= {},
62+
init_args:tuple= (),
63+
init_kwargs:dict= {},
6464
**kwargs,
6565
)->Generator[_Y,Any,None]:
6666
"""Create a generator wrapper that retries the wrapped stream if it fails.

‎google/api_core/retry/retry_streaming_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ async def retry_target_stream(
6262
[list[Exception],RetryFailureReason,float|None],
6363
tuple[Exception,Exception|None],
6464
]=build_retry_error,
65-
init_args:_P.args= (),
66-
init_kwargs:_P.kwargs= {},
65+
init_args:tuple= (),
66+
init_kwargs:dict= {},
6767
**kwargs,
6868
)->AsyncGenerator[_Y,None]:
6969
"""Create a generator wrapper that retries the wrapped stream if it fails.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp