mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-23 04:21:29 +00:00
16 lines
357 B
Python
16 lines
357 B
Python
"""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)
|