← Về thư mục
openai4s/compute/states.py
- IllegalTransition · class · L125-L136 — class IllegalTransition(ValueError)
- init · method · L128-L136 — def init(self, job_id: str, current: str, requested: str) -> None
- is_live · function · L139-L140 — def is_live(status: str | None) -> bool
- is_terminal · function · L143-L144 — def is_terminal(status: str | None) -> bool
- can_transition · function · L147-L177 — def can_transition(current: str | None, requested: str) -> bool
- check_transition · function · L180-L185 — def check_transition(job_id: str, current: str | None, requested: str) -> None