auto: 2026-09-22 03:10 (EOMSANGDON-HOME)
This commit is contained in:
@@ -103,8 +103,7 @@ def _brief(whole, row: dict) -> list[dict]:
|
||||
|
||||
def combos(sub: str = "", detail: str = "", q: str = "", owner: str = "") -> list[dict]:
|
||||
"""조합 목록 — 구분 · 상세구분 · 소유 · 찾기로 거름."""
|
||||
files = cm.load(folder=store.FOLDER)
|
||||
whole = cm.mf.Master(files)
|
||||
files, whole = store.loaded()
|
||||
out = []
|
||||
for _, row in mcb.rows(files):
|
||||
if (sub and row.get("구분") != sub) or (detail and row.get("상세구분") != detail):
|
||||
@@ -130,7 +129,7 @@ def combo(key: str) -> dict:
|
||||
"""조합 하나 — 담은 로직에 이름·단위를 붙여 줌."""
|
||||
data, version = _read()
|
||||
row = _find(data, key)
|
||||
whole = cm.mf.Master(cm.load(folder=store.FOLDER))
|
||||
whole = store.loaded()[1]
|
||||
problems = mcb.check_row(whole, row)
|
||||
return {
|
||||
"file": FILE,
|
||||
@@ -144,7 +143,7 @@ def combo(key: str) -> dict:
|
||||
|
||||
def combos_of_logic(key: str) -> dict:
|
||||
"""「이 로직을 쓰는 조합」 — 로직 화면이 거꾸로 볼 때(소요량 「용도」 와 같은 결)."""
|
||||
files = cm.load(folder=store.FOLDER)
|
||||
files, _ = store.loaded()
|
||||
return {"key": key, "combos": mcb.using(files, key)}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user