skillbox/server/api/types.py

10 lines
161 B
Python

import graphene
class FailureNode(graphene.Interface):
reason = graphene.String()
class SuccessNode(graphene.Interface):
message = graphene.String()