When will ComponentResources be supported in pyth...
# python
b
When will ComponentResources be supported in python?
i
they are!
b
whoops ok, I've been playing around with the typescript implementation since everything is supported, but would like to use python instead. thanks.
i
let me know if there’s something missing in Python that you’d like to see - there are still a few gaps but a majority of the TypeScript functionality is also supported in Python
b
are there typings / ide intellisense support?
i
that’s more of an IDE feature than Pulumi, but yes, there are IDEs out there like JetBrains PyCharm and VS Code that are capable of providing autocompletion for Python, including Pulumi programs
Python doesn’t have typings in the same way that TypeScript does, although Pulumi does include mypy annotations when useful and usable by IDEs
b
ya usually it comes down to if typings exist or proper docstrings with param returns
i
Pulumi’s libraries have both of those things, yeah
b
cool thanks
l
what are component resources?
i
p
@incalculable-sundown-82514 the main thjing missing is being able to use output promises in user code. Thats the primary difference between TS and Python
i
what do you mean?
p
Related to our discussion about dynamic providers. The only thing I can do with an Output in Python is pass it as an Input to another Pulumi resource. I can’t write code that deals with the Output when it’s resolved because there’s no access to either the provider hooks when the engine is running, or the async loop that is running the user code to be able to do an async operation on the code.
l
why though? it works for me