18 lines
360 B
Python
18 lines
360 B
Python
import graphene
|
|
from graphene import InputObjectType
|
|
|
|
|
|
class ProjectInput(InputObjectType):
|
|
title = graphene.String()
|
|
description = graphene.String()
|
|
objectives = graphene.String()
|
|
appearance = graphene.String()
|
|
|
|
|
|
class AddProjectArgument(ProjectInput):
|
|
pass
|
|
|
|
|
|
class UpdateProjectArgument(ProjectInput):
|
|
id = graphene.ID(required=True)
|