Remove unused code
This commit is contained in:
parent
ce9d58ad5c
commit
ae4fec5603
|
|
@ -10,7 +10,6 @@ class NotFoundFailure:
|
||||||
reason = 'Not Found'
|
reason = 'Not Found'
|
||||||
|
|
||||||
|
|
||||||
NOT_FOUND = { 'reason': 'Not Found'}
|
|
||||||
|
|
||||||
class NotFound(graphene.ObjectType):
|
class NotFound(graphene.ObjectType):
|
||||||
reason = graphene.String()
|
reason = graphene.String()
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ from graphene_django.filter import DjangoFilterConnectionField
|
||||||
from api.utils import get_object
|
from api.utils import get_object
|
||||||
from core.logger import get_logger
|
from core.logger import get_logger
|
||||||
from .connections import TopicConnection, ModuleConnection
|
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
|
TopicOr404Node
|
||||||
from ..models import Book, Topic, Module, Chapter, Snapshot
|
from ..models import Book, Topic, Module, Chapter, Snapshot
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue