You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "davidcavazos (via GitHub)" <gi...@apache.org> on 2023/02/10 22:54:13 UTC

[GitHub] [beam] davidcavazos commented on issue #24052: [Improvement]: accept collections.abc.Iterable[T] as a type hint

davidcavazos commented on issue #24052:
URL: https://github.com/apache/beam/issues/24052#issuecomment-1426449568

   As part of [PEP-585](https://peps.python.org/pep-0585), Python is now standardizing all type hinting annotations into the `collections` library rather than the `typing` library, starting from Python 3.9. [Here's a list of all the standard generic types](https://peps.python.org/pep-0585/#implementation).
   
   **Workaround:**
   
   ```py
   from __future__ import annotations
   ```


-- 
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-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org