tvalentyn opened a new pull request #16791: URL: https://github.com/apache/beam/pull/16791
Assume that bare generator types define simple generators. The only type of generators that beam currently handles are simple generators: https://github.com/apache/beam/blob/d7ee6b8c8b4fedb05d31d6554ab55a6d4bca0356/sdks/python/apache_beam/typehints/typehints.py#L1120 This test started to fail on Python 3.9 because bare Generator instances on Python <3.9 were not truly 'bare' and still had __args__ defined, we defined inferred a hint for bare geneators and didn't fail. Preserving this behavior for Python 3.9+ as well. -- 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: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org