mirror of
https://github.com/lancedb/lancedb.git
synced 2026-08-18 20:18:37 +00:00
e3b472c212
Adds job operations to the connection surface, building on the Job handle from #3742: job(id), list_jobs, get_job, cancel_job, and job_history, plus a non-blocking Job.status(). Implemented on the Database trait (defaulting to NotSupported), the remote backend (/v1/jobs), and the Python and Node bindings; job_history returns Arrow batches. errors() and progress() are not included. Tested with mocked endpoints in all three languages. --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
766 B
766 B
@lancedb/lancedb • Docs
@lancedb/lancedb / JobDescription
Interface: JobDescription
A described job from Connection.getJob.
Properties
creationMs
creationMs: number;
When the job was created, in milliseconds since the epoch.
failure?
optional failure: JobFailureInfo;
Why the job failed, when the job is failed and the server reports a reason.
jobId
jobId: string;
jobType
jobType: string;
specJson?
optional specJson: string;
The job-type-specific specification as a JSON string, when present.
state
state: string;
Lifecycle state: "running", "finished", "failed", or "cancelled".