← Về thư mục
openai4s/orchestration/slurm/profiles.py
- ClusterConfigError · class · L85-L86 — class ClusterConfigError(ValueError)
- ClusterProfile · class · L106-L133 — class ClusterProfile
- public · method · L120-L133 — def public(self) -> dict[str, Any]
- ClusterConfig · class · L137-L166 — class ClusterConfig
- post_init · method · L144-L146 — def post_init(self) -> None
- configured · method · L149-L150 — def configured(self) -> bool
- profile · method · L152-L159 — def profile(self, name: str) -> ClusterProfile
- public · method · L161-L166 — def public(self) -> dict[str, Any]
- _require_int · function · L169-L173 — def _require_int(table: dict, key: str, default: int, *, where: str) -> int
- _optional_str · function · L176-L182 — def _optional_str(table: dict, key: str, *, where: str) -> str | None
- _reject_unknown_keys · function · L185-L191 — def _reject_unknown_keys(table: dict, allowed: frozenset[str], *, where: str) -> None
- _plain_str · function · L194-L200 — def _plain_str( table: dict, key: str, default: str, *, where: str, allow_empty: bool = True ) -> str
- _parse_scalar · function · L203-L241 — def _parse_scalar(raw: str, *, where: str) -> Any
- _split_table_path · function · L244-L277 — def _split_table_path(header: str) -> list[str]
- _strip_trailing_comment · function · L280-L304 — def _strip_trailing_comment(value_text: str) -> str
- _parse_toml_subset · function · L307-L373 — def _parse_toml_subset(text: str, *, source: str) -> dict[str, Any]
- parse_cluster_config · function · L376-L437 — def parse_cluster_config(text: str, *, source: str = "cluster.toml") -> ClusterConfig
- load_cluster_config · function · L440-L454 — def load_cluster_config(data_dir: Path | str) -> ClusterConfig