mirror of
https://github.com/graphql-python/graphene.git
synced 2025-04-05 09:54:15 +03:00
chore: code style
This commit is contained in:
parent
1406b8f960
commit
a90852a7af
|
@ -56,7 +56,7 @@ class Union(UnmountedType, BaseType):
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user