mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-11 00:32:24 +03:00
flake8 formatting
This commit is contained in:
parent
cd80a8f99d
commit
4a8838143e
|
@ -36,7 +36,8 @@ def fields_for_serializer(
|
|||
name in exclude_fields,
|
||||
field.write_only
|
||||
and not is_input, # don't show write_only fields in Query
|
||||
field.read_only and is_input
|
||||
field.read_only
|
||||
and is_input
|
||||
and lookup_field != name, # don't show read_only fields in Input
|
||||
]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user