pulumi/sdk
Luke Hoban 9da774e180
Fix Python mocks (#4074)
The original version of this code caused inconsistencies in the event
loop associated with a given thread. These changes elimintate the event
loop shenanigans the mocks were trying to play by updating _sync_await
to create an event loop if none exists in the current thread.

It's possible that this will cause problems if the tests run on a
different thread than the original program, as the tests are likely to
end up waiting on outputs created by the program, which is not supported
in Python.

Also adds test coverage of the mocking/testing support in Python.
2020-03-12 21:09:47 -07:00
..
dotnet Unit testing in .NET (#3696) 2020-03-11 23:10:01 +01:00
go Expose engine logging to Go SDK (#4069) 2020-03-12 16:00:59 -07:00
nodejs Mention mocks in the missing project error (#4041) 2020-03-09 16:23:49 +01:00
proto Initial support for configuring policies (#4015) 2020-03-08 14:11:55 -07:00
python Fix Python mocks (#4074) 2020-03-12 21:09:47 -07:00
README.md Update stale README 2018-06-30 09:55:12 -07:00

Pulumi Language SDKs

This directory contains the Pulumi SDKs for all supported languages.

Please see the respective READMEs for information about installing and using these libraries:

The language providers work by implementing gRPC interfaces defined in proto/.