code: def _user_args_to_dict(arguments, argument_type="P"):
      user_dict = {}
      for arg in arguments:
          split = arg.split("=", maxsplit=1)
          # Docker arguments such as `t` don't require a value -> set to True if specified
          if len(split) == 1 and argument_type == "A":
              name = split[0]
              value = True
          elif len(split) == 2:
              name = split[0]
              value = split[1]
          else:
              eprint(
                  f"Invalid format for -{argument_type} parameter: '{arg}'. "
                  f"Use -{argument_type} name=value."
              )
              sys.exit(1)
          if name in user_dict:
              eprint(f"Repeated parameter: '{name}'")
              sys.exit(1)
          user_dict[name] = value
      return user_dict
  
imports: import contextlib
  import importlib.metadata
  import json
  import logging
  import os
  import re
  import sys
  import warnings
  from datetime import timedelta
  import click
  from click import UsageError
  import mlflow.db
  import mlflow.deployments.cli
  import mlflow.experiments
  import mlflow.runs
  import mlflow.store.artifact.cli
  from mlflow import projects, version
  from mlflow.entities import ViewType
  from mlflow.entities.lifecycle_stage import LifecycleStage
  from mlflow.environment_variables import MLFLOW_EXPERIMENT_ID, MLFLOW_EXPERIMENT_NAME
  from mlflow.exceptions import InvalidUrlException, MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.tracking import DEFAULT_ARTIFACTS_URI, DEFAULT_LOCAL_FILE_AND_ARTIFACT_PATH
  from mlflow.tracking import _get_store
  from mlflow.utils import cli_args
  from mlflow.utils.logging_utils import eprint
  from mlflow.utils.os import is_windows
  from mlflow.utils.process import ShellCommandException
  from mlflow.utils.server_cli_utils import artifacts_only_config_validation, resolve_default_artifact_root
label_desc: Use image node_id 3 for calling a global function with example usage: _user_args_to_dict(arguments, argument_type) and returns: user_dict