microsoft / TypeChat

TypeChat is a library that makes it easy to build natural language interfaces using types.
https://microsoft.github.io/TypeChat/
MIT License
8.06k stars 379 forks source link

Support abstract collection types in Python #169

Open DanielRosenwasser opened 6 months ago

DanielRosenwasser commented 6 months ago

This change is part clean-up, part feature addition.

Now that https://github.com/microsoft/pyright/issues/6582 is fixed, we can use all the collection types as values and support them as annotations.

Now that https://github.com/microsoft/pyright/issues/6587 is fixed, we can directly reference Self.