MCPcopy Create free account
hub / github.com/coleifer/huey / add

Method add

huey/tests/test_api.py:171–172  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

169 def test_schedule_s(self):
170 @self.huey.task()
171 def add(a, b):
172 return a + b
173
174 task = add.s(1, 2, delay=10)
175 task = task.then(add, 3, delay=20)

Callers 8

_executeMethod · 0.45
flush_locksMethod · 0.45
__init__Method · 0.45
crontabFunction · 0.45
enqueueMethod · 0.45
add_to_scheduleMethod · 0.45
put_if_emptyMethod · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected