You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "bfontaine (via GitHub)" <gi...@apache.org> on 2023/03/24 14:47:44 UTC

[GitHub] [beam] bfontaine commented on issue #24704: [Feature Request]: Support TypeDict hint in Apache Beam.

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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org