code: def dumps(cls, obj: object) -> bytes:
      return msgpack.dumps(
          obj,
          use_bin_type=True,
          default=cls._encode_ext_types,
          strict_types=True,
      )
  
file_path: hivemind/hivemind/utils/serializer.py
imports: from abc import ABC, abstractmethod
  from typing import Any, Dict
  import msgpack
  from hivemind.utils.logging import get_logger
label_desc: Use image node_id 4 for calling the MSGPackSerializer obj's underlying member method code with example usage: obj.dumps(cls, obj) and returns: msgpack