(self, raw: dict)
| 305 | |
| 306 | class Schema: |
| 307 | def __init__(self, raw: dict) -> None: |
| 308 | self.types: dict = raw["types"] |
| 309 | self.commands: list = raw["commands"] |
| 310 | self.events: list = raw["events"] |
| 311 | self._domain_links: dict = raw.get("domains", {}) |
| 312 | self._apply_vendor(raw.get("vendor") or {}) |
| 313 | self._promote_command_params_records() |
| 314 | |
| 315 | def _apply_vendor(self, vendor: dict) -> None: |
| 316 | """Fold the schema's vendor overlays into the types they extend. |
nothing calls this directly
no test coverage detected