MCPcopy
hub / github.com/encode/django-rest-framework / get_value

Method get_value

rest_framework/serializers.py:439–444  ·  view source on GitHub ↗
(self, dictionary)

Source from the content-addressed store, hash-verified

437 }
438
439 def get_value(self, dictionary):
440 # We override the default field access in order to support
441 # nested HTML forms.
442 if html.is_html_input(dictionary):
443 return html.parse_html_dict(dictionary, prefix=self.field_name) or empty
444 return dictionary.get(self.field_name, empty)
445
446 def run_validation(self, data=empty):
447 """

Callers 2

get_initialMethod · 0.45
to_internal_valueMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected