[python] The coder returned for typehints.List should be IterableCoder
Open
core
improvement
P3
python
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
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](https://issues.apache.org/jira/browse/BEAM-7984). Original Jira may contain additional context.
Reported by: chadrik.
Contributor guide
Assessment
This issue has not been assessed yet.