Skip to content

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

@jrmccluskey

Description

@jrmccluskey

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions