code: def get_encoder(
      cls, name: str
  ) -> _typing.Type[base_encoder.BaseEncoderMaintainer]:
      if name not in cls:
          raise ValueError(f'Encoder with name "{name}" not exist')
      else:
          return cls[name]
  
imports: import typing
  from autogl.utils import universal_registry
  from .None import base_encoder
label_desc: Use image node_id 2 for calling the EncoderUniversalRegistry obj's underlying member method code with example usage: obj.get_encoder(cls, name) and returns: cls