code: def initialize_env(request):
      """clean log before testing"""
      host = request.config.getoption("--host")
      port = request.config.getoption("--port")
      handler = request.config.getoption("--handler")
      user = request.config.getoption("--user")
      password = request.config.getoption("--password")
      secure = request.config.getoption("--secure")
      clean_log = request.config.getoption("--clean_log")
      replica_num = request.config.getoption("--replica_num")
      uri = request.config.getoption("--uri")
      token = request.config.getoption("--token")
  
      """ params check """
      assert ip_check(host) and number_check(port)
  
      """ modify log files """
      file_path_list = [
          log_config.log_debug,
          log_config.log_info,
          log_config.log_err,
      ]
      if log_config.log_worker != "":
          file_path_list.append(log_config.log_worker)
      cf.modify_file(file_path_list=file_path_list, is_modify=clean_log)
  
      log.info("#" * 80)
      log.info("[initialize_milvus] Log cleaned up, start testing...")
      param_info.prepare_param_info(
          host,
          port,
          handler,
          replica_num,
          user,
          password,
          secure,
          uri,
          token,
      )
  
imports: import logging
  import pytest
  import functools
  import socket
  import common.common_type
  import common.common_func
  from utils.util_log import test_log
  from common.common_func import param_info
  from check.param_check import ip_check, number_check
  from config.log_config import log_config
  from utils.util_pymilvus import get_milvus, gen_unique_str, gen_default_fields, gen_binary_default_fields
  from pymilvus.orm.types import CONSISTENCY_STRONG
label_desc: Use image node_id 31 for calling a global function with example usage: initialize_env(request) without return types