(data: dict | None)
| 25 | |
| 26 | @staticmethod |
| 27 | def from_json(data: dict | None): |
| 28 | if data is None: |
| 29 | return PlatformMeta() |
| 30 | else: |
| 31 | return PlatformMeta(data.get("name"), data.get("url")) |
| 32 | |
| 33 | |
| 34 | DEFAULT_VM = "0.1.0" |
nothing calls this directly
no test coverage detected