Skip to content

Commit

Permalink
chore: code style
Browse files Browse the repository at this point in the history
  • Loading branch information
erikwrede authored Nov 9, 2024
1 parent 1406b8f commit a90852a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphene/types/union.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init_subclass_with_meta__(cls, types=None, _meta=None, **options):
isinstance(types, (list, tuple)) and len(types) > 0
), f"Must provide types for Union {cls.__name__}."

if _meta is None:
if not _meta:
_meta = UnionOptions(cls)

_meta.types = types
Expand Down

0 comments on commit a90852a

Please sign in to comment.