mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2026-03-13 09:31:31 +08:00
Fix the kwargs params of schedule task (#747)
This commit is contained in:
@@ -18,7 +18,7 @@ LOCAL_BEAT_SCHEDULE = {
|
||||
'task': 'task_demo_params',
|
||||
'schedule': TzAwareCrontab('1'),
|
||||
'args': ['你好,'],
|
||||
'kwargs': {'b': '世界'},
|
||||
'kwargs': {'world': '世界'},
|
||||
},
|
||||
'清理操作日志': {
|
||||
'task': 'backend.app.task.tasks.db_log.tasks.delete_db_opera_log',
|
||||
|
||||
Reference in New Issue
Block a user