18 lines
340 B
Python
18 lines
340 B
Python
import graphene
|
|
from graphene import InputObjectType
|
|
|
|
|
|
class RoomInput(InputObjectType):
|
|
title = graphene.String()
|
|
description = graphene.String()
|
|
user_group = graphene.ID()
|
|
appearance = graphene.String()
|
|
|
|
|
|
class AddRoomArgumen(RoomInput):
|
|
pass
|
|
|
|
|
|
class ChangeRoomArgument(RoomInput):
|
|
id = graphene.ID(required=True)
|