Skip to content

Commit

Permalink
add type hint for async stream generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Linchin committed Aug 28, 2024
1 parent 4955a0b commit 1293a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/firestore_v1/async_stream_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class AsyncStreamGenerator(abc.AsyncGenerator):
"""Asynchronous generator for the streamed results."""

def __init__(self, response_generator):
def __init__(self, response_generator: abc.AsyncGenerator):
self._generator = response_generator

def __aiter__(self):
Expand Down

0 comments on commit 1293a36

Please sign in to comment.