flexmeasures.api.v3_0.jobs

Functions

flexmeasures.api.v3_0.jobs.check_job_read_access(job: Job)

Check that the current user may read the asset or sensor the job is about.

Jobs whose asset or sensor cannot be found (e.g. it was deleted) are only readable by admins and admin-readers.

Classes

class flexmeasures.api.v3_0.jobs.JobAPI

Endpoint for querying the status of background jobs by UUID.

get_job_status(job_id: str, **kwargs)