공식 레지스트리와 생성물 동기화
This commit is contained in:
@@ -31,8 +31,8 @@ def write_text(path: Path, text: str) -> None:
|
||||
def build_stub(formula_id: str, spec: dict[str, Any]) -> str:
|
||||
inputs = spec.get("inputs") or []
|
||||
outputs = spec.get("outputs") or spec.get("output_fields") or []
|
||||
owner = spec.get("owner", "TODO_REQUIRED")
|
||||
status = spec.get("status", "TODO_REQUIRED")
|
||||
owner = spec.get("owner")
|
||||
status = spec.get("status")
|
||||
input_fields = [item.get("field") for item in inputs if isinstance(item, dict) and item.get("field")]
|
||||
return (
|
||||
f'"""Auto-generated formula stub for {formula_id}."""\n'
|
||||
|
||||
Reference in New Issue
Block a user