

def __getattr__(self, attr_name):
    return getattr(self._field, attr_name)

dataset/ETHPy150Open tomchristie/django-rest-framework/rest_framework/utils/serializer_helpers.py BoundField.__getattr__/original