celery-template:简单的celery模板来演示链接和任务路由

时间:2021-03-17 01:50:14
【文件属性】:
文件名称:celery-template:简单的celery模板来演示链接和任务路由
文件大小:12KB
文件格式:ZIP
更新时间:2021-03-17 01:50:14
Python 芹菜模板 描述 该模板演示了使用Python的框架执行异步任务的工作流。 它使用作为代理和结果后端。 该模板主要关注符合任务路由以及基本任务链,其中任务可以依赖于其他任务并且需要按顺序执行。 组织 calc # Application root ├── __init__.py # Celery app instance is imported here ├── celery.py # Celery configs live here ├── main.py # Chained tasks are called from here ├── pkg_1 │ ├── __init.__.py │ ├── tasks.py # Async task `add` and `sub
【文件预览】:
celery-template-main
----requirements-dev.txt(22B)
----pyproject.toml(98B)
----requirements.in(48B)
----LICENSE(1KB)
----.env(131B)
----makefile(564B)
----requirements.txt(916B)
----docker-compose.yml(381B)
----run.sh(917B)
----.gitignore(2KB)
----calc()
--------pkg_2()
--------main.py(261B)
--------__init__.py(229B)
--------settings.py(151B)
--------pkg_1()
--------celery.py(8KB)
----README.md(4KB)

网友评论