Open ronshapiro opened 1 year ago
CC @tvalentyn @robertwb
As part of PEP-585, 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.
Workaround:
from __future__ import annotations
What happened?
Trying to use typing.Iterable[T] in Beam code works fine, but collections.abc.Iterable[T] does not.
I imagine that the special casing of the typing module should be extended to collections.abc as well.
Issue Priority
Priority: 2
Issue Component
Component: sdk-py-core