Tasks#

Note

This is an essential feature of the Timeseries Refinery. It is only accessible within the pro version. If interested, please visit: https://timeseries.pythonian.fr/#ouroffer.

Tasks let one define and schedule background jobs (e.g. scrapers, formula cache refreshes) running under the rework task queue. These API points are reachable through the task attribute of the api object, e.g. tsa.task.schedule(...).

schedule

Schedule an operation for immediate execution by a worker.

prepare

Schedule an operation to be run periodically.

unprepare

Remove a periodically scheduled operation.

tasks

List the tasks, most recent first.

prepared

List the periodically scheduled operations.