code: def get_certificates(container):
      cur_dir = os.path.dirname(os.path.abspath(__file__))
      archive_path = os.path.join(cur_dir, CERTS_ARCHIVE)
      with open(archive_path, "wb") as f:
          bits, _ = container.get_archive("/var/lib/mysql")
          for chunk in bits:
              f.write(chunk)
  
      with tarfile.open(archive_path) as tf:
          tf.extractall(path=cur_dir)
      certs = get_certs()
      HANDLER_KWARGS["connection_data"].update(certs)
  
imports: import time
  import os
  import shutil
  import tarfile
  import pytest
  import docker
  from mindsdb.integrations.handlers.mysql_handler.mysql_handler import MySQLHandler
  from mindsdb.api.executor.data_types.response_type import RESPONSE_TYPE
label_desc: Use image node_id 2 for calling a global function with example usage: get_certificates(container) without return types