Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Support all collections.abc types #29135

Open
1 of 16 tasks
jrmccluskey opened this issue Oct 25, 2023 · 0 comments
Open
1 of 16 tasks

[Feature Request]: Support all collections.abc types #29135

jrmccluskey opened this issue Oct 25, 2023 · 0 comments

Comments

@jrmccluskey
Copy link
Contributor

What would you like to happen?

From Python 3.9 on, typing types are deprecated in favor of builtin and collections.abc types. Beam was updated to support collections.abc.Iterator, collections.abc.Generator, and collections.abc.Iterable, but other collections types are not translated. This can lead to strange mismatches between compatible types, like collections.abc.Set and collections.abc.MutableSet. All collections.abc types should be supported in some way to prevent unexpected incompatibilities.

Issue Priority

Priority: 2 (default / most feature requests should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant