class_docstr: A local client for submitting and interacting with jobs on a specific node
  in the remote cluster.
  Submits requests over HTTP to the job agent on the specific node using the REST API.
class_docstr_tok: ["A","local","client","for","submitting","and","interacting","with","jobs","on","a","specific","node","in","the","remote","cluster",".","Submits","requests","over","HTTP","to","the","job","agent","on","the","specific","node","using","the","REST","API","."]
code: def __init__(
      self,
      dashboard_agent_address: str,
  ):
      self._agent_address = dashboard_agent_address
      self._session = aiohttp.ClientSession()
  
imports: import asyncio
  import dataclasses
  import json
  import logging
  import traceback
  from random import sample
  from typing import Iterator, Optional
  import aiohttp.web
  from aiohttp.web import Request, Response
  from aiohttp.client import ClientResponse
  import ray
  import ray.dashboard.optional_utils
  import ray.dashboard.consts
  from ray.dashboard.datacenter import DataOrganizer
  import ray.dashboard.utils
  from ray._private.runtime_env.packaging import package_exists, pin_runtime_env_uri, upload_package_to_gcs
  from ray.dashboard.modules.job.common import JobDeleteResponse, http_uri_components_to_uri, JobSubmitRequest, JobSubmitResponse, JobStopResponse, JobLogsResponse, JobInfoStorageClient
  from ray.dashboard.modules.job.pydantic_models import JobDetails, JobType
  from ray.dashboard.modules.job.utils import parse_and_validate_request, get_driver_jobs, find_job_by_ids
  from ray.dashboard.modules.version import CURRENT_VERSION, VersionResponse
label_desc: Use image node_id 1 to create a new JobAgentSubmissionClient object  with example: obj = JobAgentSubmissionClient(dashboard_agent_address)