tvalentyn commented on code in PR #31755:
URL: https://github.com/apache/beam/pull/31755#discussion_r1671047863
##########
sdks/python/apache_beam/runners/direct/test_stream_impl.py:
##########
@@ -309,8 +310,8 @@ def is_alive():
return not (shutdown_requested or evaluation_context.shutdown_requested)
# The shared queue that allows the producer and consumer to communicate.
- channel: Queue[Union[test_stream.Event,
- _EndOfStream]] = Queue() # noqa: F821
+ channel: 'Queue[Union[test_stream.Event, _EndOfStream]]' = ( # noqa: F821
Review Comment:
does the entire hint need to be quoted or only '_EndOfStream' ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]