code: def record(self, uid: str, data: Any):
      self._h5file.create_dataset(uid, data=data)
      self._uids.append(uid)
  
imports: from __future__ import annotations
  import logging
  import os
  from os import PathLike
  from pathlib import Path
  import shutil
  import tempfile
  from typing import Any, Dict, List, Literal
  import json_tricks
  from .utils import pickle_dump, pickle_load
label_desc: Use image node_id 2 for calling the HDF5Storage obj's underlying member method code with example usage: obj.record(uid, data) without return types