Minor formatting
This commit is contained in:
parent
192b728572
commit
3f797db3f4
|
|
@ -43,6 +43,4 @@ class GenericStreamFieldType(Scalar):
|
|||
|
||||
@convert_django_field.register(StreamField)
|
||||
def convert_stream_field(field, registry=None):
|
||||
return GenericStreamFieldType(
|
||||
description=field.help_text, required=not field.null
|
||||
)
|
||||
return GenericStreamFieldType(description=field.help_text, required=not field.null)
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ from rooms.schema import RoomsQuery
|
|||
|
||||
|
||||
class Query(RoomsQuery, ObjectivesQuery, BookQuery, graphene.ObjectType):
|
||||
# This class will inherit from multiple Queries
|
||||
node = relay.Node.Field()
|
||||
|
||||
if settings.DEBUG:
|
||||
|
|
@ -20,7 +19,6 @@ class Query(RoomsQuery, ObjectivesQuery, BookQuery, graphene.ObjectType):
|
|||
|
||||
|
||||
class Mutation(graphene.ObjectType):
|
||||
# This class will inherit from multiple Queries
|
||||
|
||||
if settings.DEBUG:
|
||||
debug = graphene.Field(DjangoDebug, name='__debug')
|
||||
|
|
|
|||
Loading…
Reference in New Issue