예제 #1
0
파일: schema.py 프로젝트: angieellis/tshape
class Mutation(graphene.ObjectType):

    update_profile = UpdateProfile.Field()
    delete_profile = DeleteProfile.Field()
    create_skill = CreateSkill.Field()
    update_skill = UpdateSkill.Field()
    delete_skill = DeleteSkill.Field()
    create_skillset = CreateSkillset.Field()
    update_skillset = UpdateSkillset.Field()
    delete_skillset = DeleteSkillset.Field()
    create_user = CreateUser.Field()
    update_user = UpdateUser.Field()
    delete_user = DeleteUser.Field()
예제 #2
0
class Mutation(graphene.ObjectType):
    signin_user = SigninPayload.Field(required=True)
    create_user = CreateUser.Field()
    create_link = CreateLink.Field()
    create_vote = CreateVote.Field()
예제 #3
0
class Mutation(graphene.ObjectType):
    create_user = CreateUser.Field()
    change_password = ChangePassword.Field()