bfontaine commented on issue #24704: URL: https://github.com/apache/beam/issues/24704#issuecomment-1482925944
Why have specific code for `TypedDict` when you can use the more generic [`Mapping`](https://docs.python.org/3/library/typing.html#typing.Mapping), which [accepts not only `TypedDict`](https://github.com/python/mypy/issues/4976#issuecomment-384719025), but also any kind of dict? Note: there’s a typo in the issue title: it should be "TypedDict", not "TypeDict". -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
