File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ def __init__(self):
66 self ._registry_composites = {}
77
88 def register (self , cls ):
9- from .types import SQLAlchemyObjectTypeMeta
10- assert issubclass (type ( cls ), SQLAlchemyObjectTypeMeta ), (
11- 'Only classes of type SQLAlchemyObjectTypeMeta can be registered, ' ,
9+ from .types import SQLAlchemyObjectType
10+ assert issubclass (cls , SQLAlchemyObjectType ), (
11+ 'Only classes of type SQLAlchemyObjectType can be registered, ' ,
1212 'received "{}"'
1313 ).format (cls .__name__ )
1414 assert cls ._meta .registry == self , 'Registry for a Model have to match.'
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ class Meta:
270270
271271 class CreateArticle (graphene .Mutation ):
272272
273- class Input :
273+ class Arguments :
274274 headline = graphene .String ()
275275 reporter_id = graphene .ID ()
276276
Original file line number Diff line number Diff line change 44import six
55
66from ..registry import Registry
7- from ..types import SQLAlchemyObjectType , SQLAlchemyObjectTypeMeta
7+ from ..types import SQLAlchemyObjectType
88from .models import Article , Reporter
99
1010registry = Registry ()
You can’t perform that action at this time.
0 commit comments