EvaluationJob#
- class nemo_microservices.types.evaluation.EvaluationJob(*args: Any, **kwargs: Any)
Bases:
BaseModel
- config: EvaluationConfig
An evaluation configuration.
- target: EvaluationTarget
An entity representing the target of the evaluation.
- id: str | None = None
The ID of the entity.
With the exception of namespaces, this is always a semantically-prefixed base58-encoded uuid4 [<prefix>-base58(uuid4())].
- created_at: datetime | None = None
Timestamp for when the entity was created.
- custom_fields: Dict[str, str] | None = None
A set of custom fields that the user can define and use for various purposes.
- description: str | None = None
The description of the entity.
- namespace: str | None = None
The namespace of the entity.
This can be missing for namespace entities or in deployments that don’t use namespaces.
- output_files_url: str | None = None
The place where the output files, if any, should be written.
- ownership: Ownership | None = None
Information about ownership of an entity.
If the entity is a namespace, the access_policies will typically apply to all entities inside the namespace.
- project: str | None = None
The URN of the project associated with this entity.
- result: str | None = None
The evaluation result URN.
- status: Literal['created', 'pending', 'running', 'cancelled', 'cancelling', 'failed', 'completed', 'ready', 'unknown'] | None = None
Normalized statuses for all jobs.
CREATED: The job is created, but not yet scheduled.
PENDING: The job is waiting for resource allocation.
RUNNING: The job is currently running.
CANCELLING: The job is being cancelled at the user’s request.
CANCELLED: The job has been cancelled by the user.
CANCELLING: The job is being cancelled at the user’s request.
FAILED: The job failed to execute and terminated.
COMPLETED: The job has completed successfully.
READY: The job is ready to be used.
UNKNOWN: The job status is unknown.
- status_details: EvaluationStatusDetails | None = None
Details about the status of the evaluation.
- updated_at: datetime | None = None
Timestamp for when the entity was last updated.