exercise_constants.py 215 B

12345678
  1. """习题相关常量。"""
  2. RESOLUTION_EMPTY_PLACEHOLDER = "暂无"
  3. def normalize_resolution_for_store(value: str | None) -> str:
  4. s = (value or "").strip()
  5. return s if s else RESOLUTION_EMPTY_PLACEHOLDER