Remove unused connection
This commit is contained in:
parent
a77d8ceee4
commit
1c91ac93a7
|
|
@ -43,27 +43,3 @@ class TopicConnection(NodeConnection):
|
|||
class ModuleConnection(NodeConnection):
|
||||
class Meta:
|
||||
node = ModuleNode
|
||||
|
||||
|
||||
class SnapshotChapterEdge:
|
||||
description_visible = graphene.Boolean()
|
||||
title_visible = graphene.Boolean()
|
||||
|
||||
@staticmethod
|
||||
def resolve_description_visible(parent, info, **kwargs):
|
||||
return parent.node.description_visible
|
||||
|
||||
@staticmethod
|
||||
def resolve_title_visible(parent, info, **kwargs):
|
||||
return parent.node.title_visible
|
||||
|
||||
@staticmethod
|
||||
def resolve_node(parent, info, **kwargs):
|
||||
return parent.node.chapter
|
||||
|
||||
|
||||
class ChapterSnapshotConnection(NodeConnection):
|
||||
class Meta:
|
||||
node = SnapshotChapterNode
|
||||
|
||||
Edge = SnapshotChapterEdge
|
||||
|
|
|
|||
Loading…
Reference in New Issue