We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6c2459 commit b3200d4Copy full SHA for b3200d4
scheduler/tools.py
@@ -27,6 +27,7 @@ def get_next_cron_time(cron_string) -> timezone.datetime:
27
next_itr = itr.get_next(timezone.datetime)
28
return next_itr
29
30
+
31
def get_scheduled_task(task_model: str, task_id: int):
32
if task_model not in MODEL_NAMES:
33
raise ValueError(f'Job Model {task_model} does not exist, choices are {MODEL_NAMES}')
0 commit comments