docstr: Get a serializer for a format.
  
  Args:
      fmt: The format to get a serializer for.
  
  Returns:
      ProtoSerializer: The serializer for the format.
  
  Raises:
      ValueError: If the format is not supported.
docstr_tok: ["Get","a","serializer","for","a","format",".","Args",":","fmt",":","The","format","to","get","a","serializer","for",".","Returns",":","ProtoSerializer",":","The","serializer","for","the","format",".","Raises",":","ValueError",":","If","the","format","is","not","supported","."]
code: def get(self, fmt: str) -> ProtoSerializer:
      """Get a serializer for a format.
  
      Args:
          fmt: The format to get a serializer for.
  
      Returns:
          ProtoSerializer: The serializer for the format.
  
      Raises:
          ValueError: If the format is not supported.
      """
      try:
          return self._serializers[fmt]
      except KeyError:
          raise ValueError(
              f"Unsupported format: '{fmt}'. Supported formats are: {self._serializers.keys()}"
          ) from None
  
imports: from __future__ import annotations
  import warnings
  import typing
  from typing import Any, Collection, Optional, Protocol, TypeVar
  import google.protobuf.json_format
  import google.protobuf.message
  import google.protobuf.text_format
  import onnx
label_desc: Use image node_id 3 for calling the _Registry obj's underlying member method code with example usage: obj.get(fmt) and returns: self