mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-06 05:20:12 +03:00
flake whitespace
This commit is contained in:
parent
2970129751
commit
0d85b5575e
|
@ -1296,14 +1296,14 @@ class RecursiveField(Field):
|
||||||
# This list of attributes determined by the attributes that
|
# This list of attributes determined by the attributes that
|
||||||
# `rest_framework.serializers` calls to on a field object
|
# `rest_framework.serializers` calls to on a field object
|
||||||
PROXIED_ATTRS = (
|
PROXIED_ATTRS = (
|
||||||
# bound fields
|
# bound fields
|
||||||
'get_value',
|
'get_value',
|
||||||
'get_initial',
|
'get_initial',
|
||||||
'run_validation',
|
'run_validation',
|
||||||
'get_attribute',
|
'get_attribute',
|
||||||
'to_representation',
|
'to_representation',
|
||||||
|
|
||||||
# attributes
|
# attributes
|
||||||
'field_name',
|
'field_name',
|
||||||
'source',
|
'source',
|
||||||
'read_only',
|
'read_only',
|
||||||
|
@ -1348,7 +1348,7 @@ class RecursiveField(Field):
|
||||||
return getattr(proxied, name)
|
return getattr(proxied, name)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
return object.__getattribute__(self, name)
|
return object.__getattribute__(self, name)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user