pulumi/sdk
Julien 7cc9c40eba
Fix merging InvokeOptions.version (#17750)
`InvokeOptions.version` was defaulting to the empty string `""` and not
`None`, see
1a97d95583/sdk/python/lib/pulumi/invoke.py (L57)

While working on https://github.com/pulumi/pulumi/issues/17749 I noticed
that the merge function was not expecting the empty string, and clearing
out the version on merge when it probably shouldn't.

Since this is typed as `Optional[str]`, code that uses this value
already has to deal with `None`, and we can update it to default to
`None` instead.

---------

Co-authored-by: Thomas Gummerer <t.gummerer@gmail.com>
2024-11-15 13:22:22 +00:00
..
go Improve the non-numeric port error (#17782) 2024-11-15 12:14:13 +00:00
nodejs add lint_fix Makefile targets (#17767) 2024-11-15 09:58:20 +00:00
proto/go Document more provider methods (#17683) 2024-11-06 16:54:04 +00:00
python Fix merging InvokeOptions.version (#17750) 2024-11-15 13:22:22 +00:00
.version Freeze v3.139.0 (#17772) 2024-11-15 04:17:01 +00:00
README.md Cleanup sdk/README.md 2023-01-03 17:12:12 -05:00
go.mod fix dll loading errors in windows CI (#17410) 2024-10-02 08:43:42 +00:00
go.sum fix dll loading errors in windows CI (#17410) 2024-10-02 08:43:42 +00:00
version.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00

README.md

Pulumi Language SDKs

This directory contains Pulumi SDKs for the following languages:

See the respective READMEs for information about installing and using these libraries.

The language providers work by implementing gRPC interfaces defined in the top level directory proto.