Skip to content

Commit

Permalink
remove 'unions' from test
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnq committed Jan 27, 2019
1 parent 7be00aa commit 3f2b866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 3f2b866

Please sign in to comment.