사례개념화 워크시트 저장 추가
This commit is contained in:
parent
7f4a2d90c7
commit
bd389a97cc
15 changed files with 614 additions and 42 deletions
|
|
@ -21,13 +21,18 @@ _STAGE_LABELS = {
|
|||
"EXPLORE": "탐색",
|
||||
"INTERVENE": "개입",
|
||||
"CLOSE": "정리",
|
||||
"rapport": "라포",
|
||||
"explore": "탐색",
|
||||
"intervene": "개입",
|
||||
"close": "정리",
|
||||
}
|
||||
|
||||
|
||||
def stage_label(stage: object) -> str:
|
||||
"""Stage enum과 문자열 값을 같은 한글 라벨로 정규화한다."""
|
||||
name = getattr(stage, "name", "")
|
||||
return _STAGE_LABELS.get(name, str(getattr(stage, "value", stage)))
|
||||
raw = str(getattr(stage, "value", stage))
|
||||
return _STAGE_LABELS.get(name) or _STAGE_LABELS.get(raw) or raw
|
||||
|
||||
|
||||
class SessionAccessError(str, Enum):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue