修复 prefect部署
This commit is contained in:
+1
-1
@@ -379,7 +379,7 @@ prefect_inventory_scheduler.py
|
||||
|
||||
### 10.1 调度目标
|
||||
|
||||
当前通过 Prefect 定义了 2 个 deployment,都会在每天 `09:15` 和 `19:15`(`Asia/Shanghai`)执行:
|
||||
当前通过 Prefect 定义了 2 个 deployment,每个 deployment 用一条 cron 覆盖每天 `09:15` 和 `19:15`(`Asia/Shanghai`):
|
||||
|
||||
- 渠道库存统计并写入飞书
|
||||
- 批次库存统计报表并写入飞书
|
||||
|
||||
@@ -169,7 +169,7 @@ PREFECT_API_URL
|
||||
|
||||
## Prefect 调度
|
||||
|
||||
项目定义了两个 Prefect deployment:
|
||||
项目定义了两个 Prefect deployment,每个 deployment 用一条 cron 覆盖 09:15 和 19:15:
|
||||
|
||||
- `channel-inventory-sync-0915-1915`:每天 09:15 和 19:15 执行渠道库存统计并写入飞书。
|
||||
- `batch-inventory-report-0915-1915`:每天 09:15 和 19:15 执行批次库存统计并写入飞书。
|
||||
|
||||
+1
-2
@@ -10,8 +10,7 @@ requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
"openpyxl>=3.1.2",
|
||||
"pandas",
|
||||
"prefect==3.0.0",
|
||||
"pydantic==2.8.2",
|
||||
"prefect==3.6.8",
|
||||
"psycopg2-binary",
|
||||
"python-dotenv",
|
||||
"xlrd>=2.0.1",
|
||||
|
||||
Reference in New Issue
Block a user