JobStatus

JobStatus

Status values for asynchronous job operations in Fiddler.

This enum defines the possible states that a Job can be in during its lifecycle. Jobs represent asynchronous operations such as data publishing, model uploads, and computation tasks that may take significant time to complete.

Job Lifecycle:

  1. PENDING: Job created and queued for execution

  2. STARTED: Job execution has begun

  3. SUCCESS/FAILURE: Job completed with final status

  4. RETRY: Job failed but will be retried automatically

  5. REVOKED: Job was cancelled before completion

Examples

Monitoring job progress:

``
`
``
```python
python
# Start a data publishing job
job = model.publish(source=data_df, environment=fdl.EnvType.PRODUCTION)

# Wait for completion
job.wait()  # Blocks until job completes

# Check final status
if job.status == fdl.JobStatus.SUCCESS:

    print(“Data published successfully”)

else:
print(f”Job failed with status: {job.status}”)

`

``

`

``

`

``

`

``

`

Last updated

Was this helpful?