14.2.1.6.1. Huey Queue Class

class edumfa.lib.queues.huey_queue.HueyQueue(options)[source]
enqueue(name, args, kwargs)[source]

Schedule an invocation of a job on the external job queue.

Parameters:
  • name – Unique job name

  • args – Tuple of positional arguments

  • kwargs – Dictionary of keyword arguments

Returns:

None

property huey
property jobs
register_job(name, func)[source]

Add a job to the internal registry.

Parameters:
  • name – Unique job name

  • func – Function that should be executed by an external job queue