code: def start_minio_server(access_key, secret_key):
      # Set environment variables for access and secret keys
      env = os.environ.copy()
      env["MINIO_ROOT_USER"] = access_key
      env["MINIO_ROOT_PASSWORD"] = secret_key
      env["MINIO_REGION"] = "us-east-1"
  
      # Command to start MinIO server
      data_dir = root / "minio_data"
      shutil.rmtree(data_dir, ignore_errors=True)
      cmd = ["minio", "server", "minio_data"]
  
      # Start MinIO server in the background
      process = subprocess.Popen(
          cmd, env=env, stdout=subprocess.PIPE, stderr=subprocess.PIPE
      )
  
      return process
  
file_path: vegafusion/automation/start_minio.py
imports: from minio import Minio
  from minio.error import S3Error
  import os
  import subprocess
  import time
  from pathlib import Path
  import shutil
  import pandas
  from csv import QUOTE_ALL
  from io import BytesIO
  import pyarrow
label_desc: Use image node_id 2 for calling a global function with example usage: start_minio_server(access_key, secret_key) and returns: process