class Job()
Job represents an ev program that can be run on the Eventual Platform. Arguments:
  • name str - The name for this job. Defaults to “job”.
  • env Env - The environment configuration for this job. Defaults to empty Env().
Attributes:
  • name str - The name for this job.
Example:
job = Job("data-pipeline")
job = Job("ml-training", env=custom_env)

name

@property
def name() -> str
Get the name identifier of this job. Returns:
  • str - The name of the job as specified during construction, or “job” if no name was provided.
Example:
job = Job("my-data-pipeline")
print(job.name)

run

def run(client: Client | None = None,
        args: dict[str, object] | None = None) -> JobHandle
Runs the job on the eventual platform, returning a job handle. Arguments:
  • client Client | None - The client to use for running the job. Defaults to None (uses default client).
  • args dict[str, object] | None - Arguments to pass to the job. Defaults to None.
Returns:
  • JobHandle - A handle to the running job.