JobInfo#

class pyedb.workflows.job_manager.backend.service.JobInfo#

Mutable state container for a single simulation.

Attributes:
configHFSSSimulationConfig

Immutable configuration.

statusJobStatus

Current life-cycle state.

start_timedatetime or None

When the job entered RUNNING.

end_timedatetime or None

When the job reached a terminal state.

return_codeint or None

Exit code of the solver or scheduler.

outputstr

Stdout captured (local runs only).

errorstr

Stderr captured (local runs only).

processasyncio.subprocess.Process or None

Handle for local cancellation.

scheduler_job_idstr or None

External identifier (SLURM, LSF, …).

local_resourcesdict or None

Snapshot of host telemetry at start time.

priorityint

Higher numbers are de-queued first.

Overview#

Import detail#

from pyedb.workflows.job_manager.backend.service import JobInfo

Attribute detail#

JobInfo.config: pyedb.workflows.job_manager.backend.job_submission.HFSSSimulationConfig#
JobInfo.status: JobStatus#
JobInfo.start_time: datetime.datetime | None = None#
JobInfo.end_time: datetime.datetime | None = None#
JobInfo.return_code: int | None = None#
JobInfo.output: str = ''#
JobInfo.error: str = ''#
JobInfo.process: Any | None = None#
JobInfo.scheduler_job_id: str | None = None#
JobInfo.local_resources: Dict[str, Any] | None = None#
JobInfo.priority: int = 0#