selfprivacy-rest-api/selfprivacy_api/graphql/__init__.py

16 lines
357 B
Python
Raw Normal View History

2022-06-24 13:05:18 +00:00
"""GraphQL API for SelfPrivacy."""
# pylint: disable=too-few-public-methods
import typing
import strawberry
from selfprivacy_api.graphql.queries.system import System
from selfprivacy_api.graphql.queries.api import Api
@strawberry.type
class Query:
"""Root schema for queries"""
system: System
api: Api
schema = strawberry.Schema(query=Query)