Remove unused code

This commit is contained in:
Ramon Wenger 2022-05-23 20:18:29 +02:00
parent ce9d58ad5c
commit ae4fec5603
2 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@ class NotFoundFailure:
reason = 'Not Found'
NOT_FOUND = { 'reason': 'Not Found'}
class NotFound(graphene.ObjectType):
reason = graphene.String()

View File

@ -5,7 +5,7 @@ from graphene_django.filter import DjangoFilterConnectionField
from api.utils import get_object
from core.logger import get_logger
from .connections import TopicConnection, ModuleConnection
from .nodes import ContentBlockNode, ChapterNode, ModuleNode, NOT_FOUND, NotFoundFailure, TopicNode, SnapshotNode, \
from .nodes import ContentBlockNode, ChapterNode, ModuleNode, NotFoundFailure, SnapshotNode, \
TopicOr404Node
from ..models import Book, Topic, Module, Chapter, Snapshot