code: def submit(
      ctx: typer.Context,
      name: str,
      script: str,
      files: Ann[
          str,
          Opt(
              help="Comma-separated list of files to add to the working directory of the Hail application."
          ),
      ] = "",
      pyfiles: Ann[
          str,
          Opt(
              help="Comma-separated list of files (or directories with python files) to add to the PYTHONPATH."
          ),
      ] = "",
      properties: Ann[
          Optional[str],
          Opt(
              "--properties",
              "-p",
              help="Extra Spark properties to set.",
          ),
      ] = None,
      gcloud_configuration: Ann[
          Optional[str],
          Opt(
              "--gcloud_configuration",
              help="Google Cloud configuration to submit job (defaults to currently set configuration).",
          ),
      ] = None,
      dry_run: DryRunOption = False,
      region: Ann[
          Optional[str], Opt(help="Compute region for the cluster.")
      ] = None,
      arguments: Ann[
          Optional[List[str]],
          Arg(
              help="You should use -- if you want to pass option-like arguments through."
          ),
      ] = None,
  ):
      """Submit the Python script at path SCRIPT to a running Dataproc cluster with name NAME.
  
      You may pass arguments to the script being submitted by listing them after the script; however,
      if you wish to pass option-like arguments you should use "--". For example:
  
  
  
      $ hailctl dataproc submit name --image-name docker.io/image my_script.py -- some-argument --animal dog
  
      """
      dataproc_submit(
          name,
          script,
          files,
          pyfiles,
          properties,
          gcloud_configuration,
          dry_run,
          region,
          [*(arguments or []), *ctx.args],
      )
  
file_path: hail/hail/python/hailtop/hailctl/dataproc/cli.py
imports: import sys
  import typer
  from typer import Option, Argument
  from typing import List, Optional, Annotated
  from .connect import connect, DataprocConnectService
  from .submit import submit
  from .diagnose import diagnose
  from .modify import modify
  from .start import start, VepVersion
  from ..describe import describe
  from .None import gcloud
label_desc: Use image node_id 6 for calling a global function with example usage: submit(ctx, name, script, files, pyfiles, properties, gcloud_configuration, dry_run, region, arguments) without return types