(self)
| 33 | class Instance: |
| 34 | |
| 35 | def __init__(self) -> None: |
| 36 | self.instance_id: str = "" |
| 37 | self.name: str = "" |
| 38 | self.type: str = "" |
| 39 | self.image: str = "" |
| 40 | self.extra: dict[str,str] = {} |
| 41 | self.device_info: dict[str,DeviceRequireInfo] = {} |
| 42 | self.resource: ResourceLimit = 0 |
| 43 | self.node_index: int = -1 |
| 44 | self.connections: dict[str,ConnectionInfo] = [] |
| 45 | self.start: bool = False |
| 46 | |
| 47 | def instance_from_json(seq: str) -> Instance: |
| 48 | if seq is None : |
nothing calls this directly
no outgoing calls
no test coverage detected