pulumi/pkg/codegen/testing/test/testdata
bors[bot] 80bc7fa662
Merge #12555
12555: [pcl/python] Implemented python program-gen for PCL components r=Zaid-Ajaj a=Zaid-Ajaj

<!--- 
Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation.
-->

# Description

Implements python program-gen for components

Still todo:

 - [x] worked out correct types for component arguments
 - [x] fixed component scope traversals
 - [x] made object-typed component variables optional by default

Fixes # (issue)

## Checklist

<!--- Please provide details if the checkbox below is to be left unchecked. -->
- [x] I have added tests that prove my fix is effective or that my feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the Pulumi Service,
then the service should honor older versions of the CLI where this change would not exist.
You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Service API version
  <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. -->


Co-authored-by: Zaid Ajaj <zaid.naom@gmail.com>
2023-04-05 11:52:51 +00:00
..
assets-archives-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
aws-eks-pp Parenthesize lambda generation 2022-11-23 19:19:08 -08:00
aws-fargate-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
aws-iam-policy-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
aws-lambda-pp Update test results 2022-09-27 17:15:10 -07:00
aws-optionals-pp Fix incorrect pointers for array of objects [go/codegen] 2022-12-19 12:45:27 -08:00
aws-resource-options-4.26-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
aws-resource-options-5.16.2-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
aws-s3-folder-pp Fix capitalization for generated `fs.readdirSync` 2022-11-28 11:26:32 -08:00
aws-s3-logging-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
aws-secret-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
aws-webserver-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
azure-native-nested-types Merge #12577 2023-03-31 22:37:24 +00:00
azure-native-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
azure-sa-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
components-pp Impleneted python program-gen for PCL components 2023-04-05 13:19:52 +02:00
cyclic-types Merge #12577 2023-03-31 22:37:24 +00:00
dash-named-schema Merge #12577 2023-03-31 22:37:24 +00:00
dashed-import-schema Merge #12577 2023-03-31 22:37:24 +00:00
different-enum Merge #12577 2023-03-31 22:37:24 +00:00
different-package-name-conflict Remove dotnet 2022-12-13 16:13:53 +00:00
discriminated-union-pp Examples of iterating lists and maps of objects in components 2023-03-24 10:40:18 +01:00
docs-collision Fix docs conflict between module, resource, and function with the same 2023-03-29 13:00:14 -07:00
entries-function-pp Fixes the type signature of PCL function "entries" to return list of key-value pair objects 2023-04-05 13:04:46 +02:00
enum-reference Merge #12577 2023-03-31 22:37:24 +00:00
external-enum Pulumi supports Python >=3.7, change default value 2023-03-30 11:03:29 -04:00
external-go-import-aliases Use 'errors' not 'pkg/errors' in go codegen 2023-02-02 15:42:05 +00:00
external-node-compatibility Revert "Merge #10831" 2022-12-05 10:19:41 -08:00
external-python-same-module-name Pulumi supports Python >=3.7, change default value 2023-03-30 11:03:29 -04:00
external-resource-schema Merge #12577 2023-03-31 22:37:24 +00:00
functions-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
functions-secrets Merge #12577 2023-03-31 22:37:24 +00:00
go-nested-collections codegen/go: Remove superfluous newline in doc.go 2022-11-30 14:17:13 +00:00
go-plain-ref-repro codegen/go: Remove superfluous newline in doc.go 2022-11-30 14:17:13 +00:00
hyphen-url Merge #12577 2023-03-31 22:37:24 +00:00
hyphenated-symbols Pulumi supports Python >=3.7, change default value 2023-03-30 11:03:29 -04:00
internal-dependencies-go codegen/go: Remove superfluous newline in doc.go 2022-11-30 14:17:13 +00:00
invalid-go-sprintf-pp testdata: Update generated code 2023-03-02 09:32:52 -08:00
kubernetes-operator-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
kubernetes-pod-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
kubernetes-template-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
logical-name-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
modpath-pp Add `modulePath` to go 2022-10-10 16:01:53 -07:00
naming-collisions Merge #12577 2023-03-31 22:37:24 +00:00
nested-module Merge #12577 2023-03-31 22:37:24 +00:00
nested-module-thirdparty Merge #12577 2023-03-31 22:37:24 +00:00
other-owned Fix whitespace in generated .csproj files 2023-03-31 23:33:02 +01:00
output-funcs Merge #12577 2023-03-31 22:37:24 +00:00
output-funcs-aws-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
output-funcs-edgeorder Merge #12577 2023-03-31 22:37:24 +00:00
output-funcs-tfbridge20 Merge #12577 2023-03-31 22:37:24 +00:00
plain-and-default Merge #12577 2023-03-31 22:37:24 +00:00
plain-object-defaults Merge #12577 2023-03-31 22:37:24 +00:00
plain-object-disable-defaults Merge #12577 2023-03-31 22:37:24 +00:00
plain-schema-gh6957 Merge #12577 2023-03-31 22:37:24 +00:00
provider-config-schema Merge #12577 2023-03-31 22:37:24 +00:00
provider-type-schema Merge #12577 2023-03-31 22:37:24 +00:00
pulumi-stack-reference-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
python-regress-10914-pp recursively annotate expressions under invoke calls with their associated schema types 2022-10-07 14:02:12 +02:00
python-reserved-pp Escape import names for python 2023-03-16 14:44:13 +00:00
python-resource-names-pp [import/python] use init param name for programgen (#9359) 2022-04-07 12:00:19 +02:00
random-pet-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
read-file-func-pp all: Drop ioutil 2023-01-06 16:35:14 -08:00
regress-8403 Merge #12577 2023-03-31 22:37:24 +00:00
regress-go-8664 Use 'errors' not 'pkg/errors' in go codegen 2023-02-02 15:42:05 +00:00
regress-go-10527 codegen/go: Remove superfluous newline in doc.go 2022-11-30 14:17:13 +00:00
regress-node-8110 Merge #12577 2023-03-31 22:37:24 +00:00
regress-py-tfbridge-611 Pulumi supports Python >=3.7, change default value 2023-03-30 11:03:29 -04:00
replace-on-change Merge #12577 2023-03-31 22:37:24 +00:00
resource-args-python Merge #12577 2023-03-31 22:37:24 +00:00
resource-args-python-case-insensitive Merge #12577 2023-03-31 22:37:24 +00:00
resource-property-overlap Merge #12577 2023-03-31 22:37:24 +00:00
retain-on-delete-pp Examples of iterating lists and maps of objects in components 2023-03-24 10:40:18 +01:00
schema Add tests for resources called "provider" 2023-01-29 20:04:07 +00:00
secrets Merge #12577 2023-03-31 22:37:24 +00:00
simple-enum-schema Merge #12577 2023-03-31 22:37:24 +00:00
simple-methods-schema Merge #12577 2023-03-31 22:37:24 +00:00
simple-methods-schema-single-value-returns Merge #12577 2023-03-31 22:37:24 +00:00
simple-plain-schema Merge #12577 2023-03-31 22:37:24 +00:00
simple-plain-schema-with-root-package Merge #12577 2023-03-31 22:37:24 +00:00
simple-range-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
simple-resource-schema Merge #12577 2023-03-31 22:37:24 +00:00
simple-resource-schema-custom-pypackage-name Merge #12577 2023-03-31 22:37:24 +00:00
simple-yaml-schema Merge #12577 2023-03-31 22:37:24 +00:00
simplified-invokes Fix whitespace in generated .csproj files 2023-03-31 23:33:02 +01:00
simplified-invokes-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
synthetic-resource-properties-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
third-party-package-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
throw-not-implemented-pp Examples of iterating lists and maps of objects in components 2023-03-24 10:40:18 +01:00
transpiled_examples Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
traverse-union-repro-pp Examples of iterating lists and maps of objects in components 2023-03-24 10:40:18 +01:00
typed-enum-pp Add generated System.Linq usings 2023-03-24 12:43:46 +01:00
.gitignore [codegen/python] fix invalid codegen on empty outputs functions (#9649) 2022-05-23 14:43:38 -07:00
aws-4.15.0.json Standardize pkg loading for TestReferenceRenderer 2022-11-03 16:46:41 -07:00
aws-4.26.0.json feat(ci): Enable fully offline codegen tests with versioned plugins cont'deleted 2022-10-11 05:16:46 -07:00
aws-4.36.0.json Add missing schemas 2022-10-24 16:47:54 -07:00
aws-4.37.1.json Add missing schemas 2022-10-24 16:47:54 -07:00
aws-5.4.0.json Test YAML PCL examples 2022-10-24 10:33:48 -07:00
aws-5.16.2.json feat(ci): Enable fully offline codegen tests with versioned plugins cont'deleted 2022-10-11 05:16:46 -07:00
aws-native-0.13.0.json Test YAML PCL examples 2022-10-24 10:33:48 -07:00
awsx-1.0.0-beta.5.json Test YAML PCL examples 2022-10-24 10:33:48 -07:00
azure-4.18.0.json feat(ci): Enable fully offline codegen tests with versioned plugins cont'deleted 2022-10-11 05:16:46 -07:00
azure-native-1.28.0.json Add missing schemas 2022-10-24 16:47:54 -07:00
azure-native-1.29.0.json feat(ci): Enable fully offline codegen tests with versioned plugins cont'deleted 2022-10-11 05:16:46 -07:00
azure-native-1.56.0.json Test YAML PCL examples 2022-10-24 10:33:48 -07:00
docker-3.1.0.json Test YAML PCL examples 2022-10-24 10:33:48 -07:00
docker-4.0.0-alpha.0.json testdata: add missing docker-4.0.0-alpha.0 schema 2023-03-03 08:20:22 -08:00
eks-0.37.1.json feat(ci): Enable fully offline codegen tests with versioned plugins cont'deleted 2022-10-11 05:16:46 -07:00
eks-0.40.0.json Test YAML PCL examples 2022-10-24 10:33:48 -07:00
google-native-0.18.2.json Add missing schemas 2022-10-24 16:47:54 -07:00
kubernetes-3.0.0.json Test YAML PCL examples 2022-10-24 10:33:48 -07:00
kubernetes-3.7.0.json Add missing schemas 2022-10-24 16:47:54 -07:00
kubernetes-3.7.2.json feat(ci): Enable fully offline codegen tests with versioned plugins cont'deleted 2022-10-11 05:16:46 -07:00
lambda-0.1.0.json Escape import names for python 2023-03-16 14:44:13 +00:00
other-0.1.0.json feat(ci): Enable fully offline codegen tests with versioned plugins cont'deleted 2022-10-11 05:16:46 -07:00
random-4.2.0.json feat(ci): Enable fully offline codegen tests with versioned plugins cont'deleted 2022-10-11 05:16:46 -07:00
random-4.3.1.json Add missing schemas 2022-10-24 16:47:54 -07:00
random-4.11.2.json testdata/schema: Add random 4.11.2 2023-03-03 09:13:55 -08:00
std-1.0.0.json Initial implementation of simplified invokes for dotnet and nodejs 2023-01-11 14:17:14 -08:00
synthetic-1.0.0.json feat(ci): Enable fully offline codegen tests with versioned plugins cont'deleted 2022-10-11 05:16:46 -07:00
types.json modify codegen/python to generate valid python code for non-string secrets 2022-12-07 11:36:15 -08:00