def type_hints(self):
        """Fetch hints from ``dtype`` attr and make it available for ``EndpointProtocol``."""
        _type_hints = getattr(self, "_type_hints", None)
        if not _type_hints:
            _type_hints = {
                "output_args": self.dtype.type_hints["output_args"],
                "input_args": self.dtype.type_hints["input_args"],
            }
            setattr(self, "_type_hints", _type_hints)
        return _type_hints
Fetch hints from ``dtype`` attr and make it available for ``EndpointProtocol``.
src/flash/core/serve/types/repeated.py