mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 17:52:19 +03:00
fix linter and comment
This commit is contained in:
parent
a7195805fe
commit
3da4b2bbcc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user