2024-02-19 07:14:14 +00:00
|
|
|
from ariadne import MutationType, QueryType
|
2024-02-19 08:20:13 +00:00
|
|
|
from ariadne import load_schema_from_path, make_executable_schema
|
2021-06-28 09:08:09 +00:00
|
|
|
|
2023-10-06 09:51:07 +00:00
|
|
|
query = QueryType()
|
|
|
|
mutation = MutationType()
|
2024-02-19 07:14:14 +00:00
|
|
|
resolvers = [query, mutation]
|
2024-02-19 08:20:13 +00:00
|
|
|
|
|
|
|
schema = make_executable_schema(load_schema_from_path('schema/'), resolvers)
|