更新: 359 个文件 - 2026-03-16 23:30:01
这个提交包含在:
14
scripts/lab/seed.py
普通文件
14
scripts/lab/seed.py
普通文件
@@ -0,0 +1,14 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, Dict, List
|
||||
|
||||
|
||||
def run_seed(profile: Dict[str, Any]) -> List[Dict[str, Any]]:
|
||||
steps = []
|
||||
for action in profile.get("seed_actions", []):
|
||||
kind = action.get("kind", "note")
|
||||
if kind == "note":
|
||||
steps.append({"kind": kind, "status": "recorded", "message": action.get("message", "")})
|
||||
else:
|
||||
steps.append({"kind": kind, "status": "skipped", "message": "Seed action type not yet automated"})
|
||||
return steps
|
||||
在新工单中引用
屏蔽一个用户