Skip to content

[python] The coder returned for typehints.List should be IterableCoder #19746

@damccorm

Description

@damccorm

IterableCoder encodes a list and decodes to list, but typecoders.registry.get_coder(typehints.List[bytes]) returns a FastPrimitiveCoder. I don't see any reason why this would be advantageous.

Imported from Jira BEAM-7984. Original Jira may contain additional context.
Reported by: chadrik.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions