def coerce(self, value, **kwargs):
        """Coerces the value to the proper type."""

        if value is None:
            return None
        return self._coercion.coerce(value, **kwargs)
Coerces the value to the proper type.