Skip to content

Commit 0885257

Browse files
committed
add collaborative query and mutation to global schema
1 parent 085c3ef commit 0885257

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

api/schema/schema.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from strawberry_django.optimizer import DjangoOptimizerExtension
99

1010
import api.schema.access_model_schema
11+
import api.schema.collaborative_schema
1112
import api.schema.dataset_schema
1213
import api.schema.dataspace_schema
1314
import api.schema.metadata_schema
@@ -67,6 +68,7 @@ def tags(self, info: Info) -> List[TypeTag]:
6768
api.schema.dataspace_schema.Query,
6869
api.schema.resoure_chart_image_schema.Query,
6970
api.schema.user_schema.Query,
71+
api.schema.collaborative_schema.Query,
7072
AuthQuery,
7173
),
7274
)
@@ -86,6 +88,7 @@ def tags(self, info: Info) -> List[TypeTag]:
8688
api.schema.dataspace_schema.Mutation,
8789
api.schema.resoure_chart_image_schema.Mutation,
8890
api.schema.tags_schema.Mutation,
91+
api.schema.collaborative_schema.Mutation,
8992
AuthMutation,
9093
),
9194
)

0 commit comments

Comments
 (0)