code: def test_pool(pool_params):
      pool = Pool.from_file(
          pool_params["pool_file"], pool_params["component_type"], 10
      )
      log_path = yatest.common.test_output_path("log")
      with open(log_path, "w") as log_file:
          print(pool.get_num_items(), file=log_file)
          print(list(pool.get_item(0)), file=log_file)
      return [yatest.common.canonical_file(log_path, local=True)]
  
imports: from __future__ import print_function
  import pytest
  import os
  import numpy
  import yatest.common
  import struct
  from hnsw import EVectorComponentType, EDistance, Pool, Hnsw, HnswException, transform_mobius, HnswEstimator, OnlineHnsw
label_desc: Use image node_id 1 for calling a global function with example usage: test_pool(pool_params) and returns: list