Last week we released a set of significant improve...
# announcements
w
Last week we released a set of significant improvements for our #python support in Pulumi. Python has been our fastest growing language in use across the Pulumi platform. The recent improvements help users to leverage the very best of the modern Python ecosystem from Pulumi! 🐍 • Pythonic TypedDict APIs • Native support for Poetry • Integrated type checking Read more in @white-camera-67848's post at https://www.pulumi.com/blog/pulumi-loves-python/.
b
Really cool! Time to rewrite some old projects.
Any plan to support also UV?
So many questions...
so the dictionary works
but why you cannot also have autocompletion for
TypedDict
?
image.png
I want autocompletion like TypeScript, not just that it recognizes the types
Also for custom components you canot use
TypedDict
syntax.
w
Auto complete should work. If you are using VSCode, can you make sure that you have the Pylance extension installed (normally it is part of the python extension pack) and the
typeCheckingMode
setting needs to be set to
basic
or higher (defaults to
off
unfortunately) ?
Copy code
"python.analysis.typeCheckingMode": "basic"
b
I have it
Still, that's not able to autocomplete for TypedDicts
You get no autocompletion inside the curly braces