We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dce4372 commit eafbd65Copy full SHA for eafbd65
ellar/reflect.py
@@ -43,7 +43,7 @@ def define_metadata(
43
raise Exception("`target` is not a valid type")
44
45
target_metadata = self._get_or_create_metadata(target, create=True)
46
- if target_metadata:
+ if target_metadata is not None:
47
existing = target_metadata.get(metadata_key)
48
if existing is not None:
49
if isinstance(existing, (list, tuple)) and isinstance(
0 commit comments