code: def submit(
      ctx: typer.Context,
      name: str,
      storage_account: Ann[
          str,
          Arg(
              help="Storage account in which the cluster's container exists."
          ),
      ],
      http_password: Ann[str, Arg(help="Web password for the cluster")],
      script: Ann[str, Arg(help="Path to script.")],
      arguments: Ann[
          Optional[List[str]],
          Arg(
              help="You should use -- if you want to pass option-like arguments through."
          ),
      ] = None,
  ):
      """
      Submit a job to an HDInsight cluster configured for Hail.
  
      If you wish to pass option-like arguments you should use "--". For example:
  
  
  
      $ hailctl hdinsight submit name account password script.py --image-name docker.io/image my_script.py -- some-argument --animal dog
      """
      hdinsight_submit(
          name,
          storage_account,
          http_password,
          script,
          [*(arguments or []), *ctx.args],
      )
  
file_path: hail/hail/python/hailtop/hailctl/hdinsight/cli.py
imports: import subprocess
  from typing import Optional, List, Annotated
  import typer
  from typer import Option, Argument
  from .start import start, VepVersion
  from .submit import submit
label_desc: Use image node_id 3 for calling a global function with example usage: submit(ctx, name, storage_account, http_password, script, arguments) without return types