pulumi/pkg/codegen
Praneet Loke cfcfad2f3c
Fixes for resource docs generator (#4085)
* Generate the constructor params for Python along with other languages.

* Remove redundant py_function_param nested template. Declare a new type for defining property characteristics rather than using inlining formal params. Generate the Lookup functions for all languages similar to the constructor params with linking enabled.

* Fix bug with generating the input arg type name for Functions in Go.

* Add prefix for args param of a Go-based Resource Function.

* Input args for Go-based Functions use Lookup*Args and not Get*Args.

* Turns out that args for Go-based Functions use a different prefix based on whether the function is a package-level or module-level Function.

* Update the Python list and dictionary type names for the resource doc generator.

* Add a separate function for Python doc helper return a type string representing dictionaries that are simple maps and don't have a known nested element type.
2020-03-17 13:37:40 -07:00
..
docs Fixes for resource docs generator (#4085) 2020-03-17 13:37:40 -07:00
dotnet Updates to resource doc generator for generating docs for Functions (#4055) 2020-03-11 17:58:12 -07:00
go Fixes for resource docs generator (#4085) 2020-03-17 13:37:40 -07:00
hcl2/syntax Address PR feedback from #3980. 2020-02-27 16:24:13 -08:00
nodejs Fixes for resource docs generator (#4085) 2020-03-17 13:37:40 -07:00
python Fixes for resource docs generator (#4085) 2020-03-17 13:37:40 -07:00
schema Add schema support for deprecated properties. (#3865) 2020-02-06 09:29:06 -08:00
docs.go Updates to resource doc generator for generating docs for Functions (#4055) 2020-03-11 17:58:12 -07:00