Skip to content

Commit

Permalink
import mutation and query
Browse files Browse the repository at this point in the history
  • Loading branch information
j-x-han committed Jul 12, 2024
1 parent 293d061 commit 79a7222
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test_app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
from platformics.settings import APISettings
from database import models

from api.mutations import Mutation
from api.queries import Query

settings = APISettings.model_validate({}) # Workaround for https://github.com/pydantic/pydantic/issues/3753
schema = strawberry.Schema(query=Query, mutation=Mutation, config=get_strawberry_config(), extensions=[HandleErrors()])
Expand Down

0 comments on commit 79a7222

Please sign in to comment.