Skip to content

Commit a90852a

Browse files
authored
chore: code style
1 parent 1406b8f commit a90852a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene/types/union.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init_subclass_with_meta__(cls, types=None, _meta=None, **options):
5656
isinstance(types, (list, tuple)) and len(types) > 0
5757
), f"Must provide types for Union {cls.__name__}."
5858

59-
if _meta is None:
59+
if not _meta:
6060
_meta = UnionOptions(cls)
6161

6262
_meta.types = types

0 commit comments

Comments
 (0)