pulumi/tests/integration/python/run
Fraser Waters 05e9b3130f Add "automation" run to python
Python support for https://github.com/pulumi/pulumi/issues/5538

This adds a `run` function that allows the python program to either be
started via the pulumi cli like normal (with the added bonus that the
inner function can be async, and we handle the event loop for the user),
or directly via python (including directly from an IDE like vscode).

Currently this breaks the use of `GetRequiredPlugins` when running via
Python. I think that's fixable with an extra flag passed to the engine,
which we could fix before or after this changeset.
2024-09-10 15:45:27 +01:00
..
.gitignore Add "automation" run to python 2024-09-10 15:45:27 +01:00
Pulumi.yaml Add "automation" run to python 2024-09-10 15:45:27 +01:00
__main__.py Add "automation" run to python 2024-09-10 15:45:27 +01:00
requirements.txt Add "automation" run to python 2024-09-10 15:45:27 +01:00