← Về thư mục
openai4s/kernel/readiness.py
- _ManifestError · class · L57-L58 — class _ManifestError(ValueError)
- _EnvironmentResult · class · L62-L83 — class _EnvironmentResult
- to_dict · method · L70-L83 — def to_dict(self) -> dict[str, object]
- _specs_dir · function · L86-L87 — def _specs_dir() -> Path
- _dependency_entry · function · L90-L116 — def _dependency_entry(value: str) -> tuple[str, bool]
- _dependency_name · function · L119-L120 — def _dependency_name(value: str) -> str
- _parse_direct_dependencies · function · L123-L191 — def _parse_direct_dependencies(path: Path, expected_name: str) -> tuple[str, ...]
- load_standard_profile_requirements · function · L194-L207 — def load_standard_profile_requirements( specs_dir: Path | None = None, ) -> dict[str, tuple[str, ...]]
- _managed_remediation · function · L210-L233 — def _managed_remediation(state: str) -> dict[str, object] | None
- _requirements_digest · function · L236-L248 — def _requirements_digest(requirements: dict[str, tuple[str, ...]]) -> str
- _projection · function · L251-L285 — def _projection( *, enabled: bool, state: str, reason: str | None, requirements_digest: str | None = None, results: Iterable[_EnvironmentResult] = (), ) -> dict[str, object]
- standard_profile_readiness · function · L288-L444 — def standard_profile_readiness( *, enabled: bool, specs_dir: Path | None = None, discover: Callable[[], list[environments.Environment]] | None = None, scan_packages: Callable[..., set[str]] | None = None, ) -> dict[str, object]
- readiness_failure_message · function · L447-L486 — def readiness_failure_message(readiness: dict[str, object]) -> str
- EnvironmentReadinessError · class · L489-L504 — class EnvironmentReadinessError(RuntimeError)
- init · method · L497-L504 — def init(self, readiness: dict[str, object]) -> None