4 ms·
100%. also, why re-invent python's already pretty decent datetime/timedeltas? and why not a proper python DSL? from redengine import minute, hour @app
by keredson 4y ago
100%. also, why re-invent python's already pretty decent datetime/timedeltas?
and why not a proper python DSL?
from redengine import minute, hour
@app.run_every(hour + 20*minute)
def do_first(): [...]
@app.run_after(do_first)
def do_second1(): [...]
@app.run_after(do_first)
def do_second2(): [...]
@app.run_after(do_second1 and do_second2)
def do_last(): [...]