code: def __init__(self) -> None:
      self._serializers: dict[str, ProtoSerializer] = {}
      # A mapping from file extension to format
      self._extension_to_format: dict[str, str] = {}
  
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 1 to create a new _Registry object  with example: obj = _Registry()