TexteaInc / funix

Building web apps without manually creating widgets
http://funix.io
MIT License
90 stars 10 forks source link

Support `List`, `TypedDict`, `Optional` from typing #1

Closed TURX closed 2 years ago

TURX commented 2 years ago

Now we only support untyped list and dict, but we should have the typed List and TypedDict (and nested collection types) parsed for a clearer frontend.

Reference: https://docs.python.org/3/library/typing.html

forrestbao commented 2 years ago

Yes, we should support this. But what are the challenges? Python supports such typing notations, e.g., typing.List[str].