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
@@ -44,3 +44,4 @@ assert_type(call_details.timeout, Optional[float])
|
||||
call_iter = cast(grpc._CallIterator[str], None)
|
||||
for call in call_iter:
|
||||
assert_type(call, str)
|
||||
assert_type(next(call_iter), str)
|
||||
Reference in new issue
Block a user