pulumi/pkg/codegen/python
Will Jones 47bc2e4625
Add the `l2-component-call-simple` conformance test
This change exercises PCL's new `call` intrinsic to introduce a
conformance test for testing code generation and execution for "simple"
applications of the `Call` method on the `ResourceMonitor` gRPC
interface (and behind it, the `ResourceProvider` interface). As part of
this, we extend programgen for NodeJS and Python, where it's a
relatively simple adaptation of the existing `invoke` machinery. It
seems that Go will require a bit more work due to some errant name
generation, which is tracked by #18202.

Later on we can add tests for more complex uses of `Call`, such as on
rehydrated resource references, or perhaps using "multi-argument
signatures", but this should suffice for now.

Part of fixing pulumi/pulumi-java#262
2025-01-10 16:58:48 +00:00
..
gen_program_test Don't publish test code in `pkg/codegen` (#17517) 2024-10-09 11:09:54 +00:00
.gitignore Simplify output-funcs codegen test (#8039) 2021-09-23 13:42:20 -04:00
doc.go Generate TypedDicts for python inputs (#15957) 2024-06-18 15:24:42 +00:00
gen.go Update minimum SDK versions for Node.js and Python (#17997) 2024-12-10 18:14:38 +00:00
gen_intrinsics.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
gen_program.go [program-gen] Emit deferred outputs for mutually dependant components (#17859) 2024-11-27 23:36:31 +00:00
gen_program_expressions.go Add the `l2-component-call-simple` conformance test 2025-01-10 16:58:48 +00:00
gen_program_lower.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_program_quotes.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_program_quotes_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_program_test.go Don't publish test code in `pkg/codegen` (#17517) 2024-10-09 11:09:54 +00:00
gen_program_utils.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_resource_mappings.go Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
gen_resource_mappings_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_test.go Switch to pyproject.toml + uv (#18081) 2024-12-27 13:53:42 +00:00
importer.go Generate TypedDict input types by default (#16704) 2024-07-23 11:26:54 +00:00
pyproject.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
python.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
python_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
requirements.txt Fully generate TypedDict input types by default (#17296) 2024-09-20 17:16:14 +00:00
utilities.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
utilities.py Replace asyncio.ensure_future with create_task (#17406) 2024-09-30 12:53:15 +00:00
utilities_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00