MCPcopy Index your code
hub / github.com/encode/django-rest-framework / __init__

Method __init__

rest_framework/fields.py:933–937  ·  view source on GitHub ↗
(self, coerce_to_string=None, **kwargs)

Source from the content-addressed store, hash-verified

931 }
932
933 def __init__(self, coerce_to_string=None, **kwargs):
934 super().__init__(**kwargs)
935
936 if coerce_to_string is not None:
937 self.coerce_to_string = coerce_to_string
938
939 def to_representation(self, value):
940 if getattr(self, 'coerce_to_string', api_settings.COERCE_BIGINT_TO_STRING):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected