tubesync
tubesync copied to clipboard
Compatibility layer for `background_task`
It looks like it will be possible to create a background decorator that translates to the Huey task system.
- [x] Modify
TaskWrapper - [x] Alias
nowtocall_local - [x] Customize the
get_task_wrapper_classfunction - [x] Handle all the
argsaccepted bybackground
-
- [x]
name
- [x]
-
- [x]
schedule
- [x]
-
- [x]
queue
- [x]
-
- [x]
remove_existing_tasks
- [x]
- [x] Handle all the
kwargsaccepted byTaskProxy
-
- [x]
schedule
- [x]
-
- [x]
priority
- [x]
-
- [x]
queue
- [x]
-
- [x]
verbose_name
- [x]
-
- [x]
creator
- [x]
-
- [x]
repeat
- [x]
-
- [x]
repeat_until
- [x]
-
- [x]
remove_existing_tasks
- [x]
- [x] Investigate possibly using
TaskWrapper.task_base