nemo_microservices.types.intake.export.export_job#

Module Contents#

Classes#

API#

class nemo_microservices.types.intake.export.export_job.ExportJob(/, **data: typing.Any)#

Bases: nemo_microservices._models.BaseModel

config: nemo_microservices.types.intake.export.export_config.ExportConfig#

None

Configuration for an export job.

Defines what entries to export and how to format them.

created_at: Optional[datetime.datetime]#

None

Timestamp for when the entity was created.

custom_fields: Optional[Dict[str, object]]#

None

A set of custom fields that the user can define and use for various purposes.

description: Optional[str]#

None

The description of the entity.

id: Optional[str]#

None

The ID of the entity.

With the exception of namespaces, this is always a semantically-prefixed base58-encoded uuid4 [-base58(uuid4())].

namespace: Optional[str]#

None

The namespace of the entity.

This can be missing for namespace entities or in deployments that don’t use namespaces.

output_file_url: Optional[str]#

None

The place where the exported file should be written (file://, hf://, nds://, etc.)

ownership: Optional[nemo_microservices.types.shared.ownership.Ownership]#

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: Optional[str]#

None

The URN of the project associated with this entity.

schema_version: Optional[str]#

None

The version of the schema for the object. Internal use only.

status: Optional[nemo_microservices.types.shared.job_status.JobStatus]#

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: Optional[nemo_microservices.types.intake.export.export_status_details.ExportStatusDetails]#

None

Detailed status information for an export job.

type_prefix: Optional[str]#

None

Type prefix for ID generation

updated_at: Optional[datetime.datetime]#

None

Timestamp for when the entity was last updated.