fix linter and comment

This commit is contained in:
colan 2017-04-27 21:25:31 -04:00
parent a7195805fe
commit 3da4b2bbcc

View File

@ -141,7 +141,6 @@ def convert_fields(model, only_fields, exclude_fields):
converted = convert_django_field_with_choices(field, None) converted = convert_django_field_with_choices(field, None)
if not converted: if not converted:
continue continue
fields[name] = converted fields[name] = converted
print(fields) print(fields)
return fields return fields
@ -171,8 +170,8 @@ class DjangoModelInputMeta(type):
class DjangoModelInput(six.with_metaclass(DjangoModelInputMeta)): class DjangoModelInput(six.with_metaclass(DjangoModelInputMeta)):
""" """
Derive a mutation's Input class from this and define a meta class with Derive a mutation's Input class from this and define a meta class with
`model` and `only_fields` members. This will populate the input class `model` and `only_fields` and 'exclude_field' members. This will populate the input class
with the converted django members. with the converted django members.
""" """
pass pass