We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7abe3e commit 432206fCopy full SHA for 432206f
1 file changed
linode_api4/objects/base.py
@@ -422,7 +422,7 @@ def _populate(self, json):
422
if prop is None:
423
prop_key, prop = self.properties_with_alias[api_key]
424
425
- if prop.relationship and not json[api_key] is None:
+ if prop.relationship and json[api_key] is not None:
426
if isinstance(json[api_key], list):
427
objs = []
428
for d in json[api_key]:
0 commit comments