diff --git a/test.py b/test.py index b0a37d1..381ec9e 100644 --- a/test.py +++ b/test.py @@ -72,7 +72,7 @@ def parse(cls, value: str) -> datetime: MyUnion = Union[Foo, Bar] -schema = graphotype.make_schema(query=Query, mutation=None, scalars=[Date], unions=dict(MyUnion=MyUnion)) +schema = graphotype.make_schema(query=Query, mutation=None, scalars=[Date]) if __name__ == '__main__': print(graphql.print_schema(schema))