sim.orchestration#

Functions#

parse_json_config(→ dict[str, Any])

deep_merge_dicts(→ dict[str, Any])

normalize_named_records(→ dict[str, dict[str, Any]])

normalized_stage_name(→ str)

_looks_like_spawnable_record(→ bool)

normalize_stage_world_params(→ dict[str, Any])

resolve_stage_world(→ dict[str, Any])

Module Contents#

parse_json_config(raw_value: str | None, *, field_name: str) dict[str, Any]#
deep_merge_dicts(base: dict[str, Any], override: dict[str, Any]) dict[str, Any]#
normalize_named_records(records: dict[str, Any] | list[dict[str, Any]] | None, *, record_type: str) dict[str, dict[str, Any]]#
normalized_stage_name(mission_stage: str | None) str#
_looks_like_spawnable_record(value: Any) bool#
normalize_stage_world_params(raw_world_params: dict[str, Any] | None) dict[str, Any]#
resolve_stage_world(*, world_name: str, mission_stage: str | None = '', world_overrides: dict[str, Any] | None = None, logger=None) dict[str, Any]#