pulumi/sdk/python
Luke Hoban ed769377dc
[sdk/python] Avoid 'referenced before assignment' error (#7135)
We have seen cases where a lot of errors like this are reported:

```
UnboundLocalError: local variable 'resources' referenced before assignment
```

This change prevents this failure mode, which might be a symptom of some
other issue, but currently obscures it in the error path.
2021-11-16 13:57:09 -08:00
..
cmd Validate python version (#8368) 2021-11-09 14:22:16 -08:00
dist Fix windows build 2020-12-07 15:58:30 -08:00
lib [sdk/python] Avoid 'referenced before assignment' error (#7135) 2021-11-16 13:57:09 -08:00
stubs Fix bug in semver usage by enabling typechecking (#6833) 2021-04-21 15:48:57 -04:00
.gitignore add .venv/ to python .gitignore to ignore when using PIPENV_VENV_IN_PROJECT=1 2019-06-19 12:43:04 -07:00
.pylintrc Support remote components in Python (#5375) 2020-09-30 14:09:20 -07:00
Makefile Fix python dependencies issues in GHA (#8361) 2021-11-06 00:55:17 -07:00
mypy.ini Fix bug in semver usage by enabling typechecking (#6833) 2021-04-21 15:48:57 -04:00
Pipfile [automation-api] Exclude tests from test_fast. (#7986) 2021-09-16 17:33:33 -07:00
python.go Include package host version in about 2021-08-20 19:38:51 -07:00
python_test.go Update pip/setuptools/wheel in virtual environment (#5042) 2020-07-23 13:33:09 -07:00
shim_unix.go Fix lint (#7915) 2021-09-07 16:41:17 -04:00
shim_windows.go Add copyright notice 2020-12-07 14:17:45 -08:00