← Về thư mục
harness/schema.py
- ScenarioValidationError · class · L25-L26 — class ScenarioValidationError(ValueError)
- _require_mapping · function · L29-L32 — def _require_mapping(value: Any, where: str) -> Mapping[str, Any]
- _only_keys · function · L35-L40 — def _only_keys(value: Mapping[str, Any], allowed: set[str], where: str) -> None
- FaultSpec · class · L44-L82 — class FaultSpec
- from_dict · method · L54-L82 — def from_dict(cls, raw: Mapping[str, Any], index: int) -> "FaultSpec"
- ProviderStep · class · L86-L161 — class ProviderStep
- from_dict · method · L94-L161 — def from_dict(cls, raw: Mapping[str, Any], index: int) -> "ProviderStep"
- Expectations · class · L165-L214 — class Expectations
- from_dict · method · L172-L214 — def from_dict(cls, raw: Mapping[str, Any]) -> "Expectations"
- strings · function · L193-L201 — def strings(name: str) -> tuple[str, ...]
- PermissionSettings · class · L218-L233 — class PermissionSettings
- from_dict · method · L224-L233 — def from_dict(cls, raw: Mapping[str, Any]) -> "PermissionSettings"
- Scenario · class · L237-L341 — class Scenario
- is_offline · method · L251-L252 — def is_offline(self) -> bool
- in_tier · method · L254-L255 — def in_tier(self, tier: str) -> bool
- from_dict · method · L258-L341 — def from_dict( cls, raw: Mapping[str, Any], *, source_path: Path | None = None ) -> "Scenario"
- EventEnvelope · class · L345-L375 — class EventEnvelope
- to_dict · method · L361-L375 — def to_dict(self) -> dict[str, Any]
- load_scenario · function · L378-L386 — def load_scenario(path: str | Path) -> Scenario