update client and fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2022-03-06 17:46:14 -08:00
parent 020b19a3c2
commit 004daabdf9
8 changed files with 26 additions and 13 deletions

View File

@ -77,7 +77,7 @@ class Instance:
_environment = d.pop("environment", UNSET)
environment: Union[Unset, ServerEnv]
if not isinstance(_environment, Unset):
if isinstance(_environment, Unset):
environment = UNSET
else:
environment = ServerEnv(_environment)