mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-13 00:20:10 +08:00
grpc _CallIterator is an iterator (#13925)
This commit is contained in:
1 parent
61b54b4eaa
commit
e203c2ba38
2 files changed
+2
No files matched your search
@@ -426,6 +426,7 @@ class UnaryUnaryClientInterceptor(abc.ABC, Generic[_TRequest, _TResponse]):
|
||||
@type_check_only
|
||||
class _CallIterator(Call, Generic[_TResponse], metaclass=abc.ABCMeta):
|
||||
def __iter__(self) -> Iterator[_TResponse]: ...
|
||||
def __next__(self) -> _TResponse: ...
|
||||
|
||||
class UnaryStreamClientInterceptor(abc.ABC, Generic[_TRequest, _TResponse]):
|
||||
@abc.abstractmethod
|
||||
|
||||
Reference in new issue
Block a user