class_docstr: Allow repeated specification of some dtype.
  
  Attributes
  ----------
  dtype:
      Data type of the repeated object.
  max_len:
      Optional parameter specifying if there is a maximum length of the
      repeated elements (`int > 0`). If `max_len=None`, there can be any
       number of repeated elements. By default: `None`.
docstr: Fetch hints from ``dtype`` attr and make it available for ``EndpointProtocol``.
docstr_tok: ["Fetch","hints","from","``","dtype","``","attr","and","make","it","available","for","``","EndpointProtocol","``","."]
code: 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
  
file_path: lightning-flash/src/flash/core/serve/types/repeated.py
imports: from dataclasses import dataclass, field
  from typing import Any, Dict, Optional, Sequence, Tuple
  from torch import Tensor
  from flash.core.serve.types.base import BaseType
label_desc: Use image node_id 1 for calling the Repeated obj's underlying member method code with example usage: obj.type_hints() and returns: _type_hints