    async def from_http_request(self, request: Request) -> ext.NpNDArray:
        """
        Process incoming requests and convert incoming objects to ``numpy.ndarray``.

        Args:
            request: Incoming Requests

        Returns:
            a ``numpy.ndarray`` object. This can then be used
             inside users defined logics.
        """
        obj = await request.json()
        try:
            res = np.array(obj, dtype=self._dtype)
        except ValueError:
            res = np.array(obj)

        return self.validate_array(res)
Process incoming requests and convert incoming objects to ``numpy.ndarray``.

Args:
request: Incoming Requests

Returns:
a ``numpy.ndarray`` object. This can then be used
inside users defined logics.
src/bentoml/_internal/io_descriptors/numpy.py