(self, attributes: dict[str, Any])
| 103 | return self._status.value |
| 104 | |
| 105 | def _useAttributes(self, attributes: dict[str, Any]) -> None: |
| 106 | if "busy" in attributes: |
| 107 | self._busy = self._makeBoolAttribute(attributes["busy"]) |
| 108 | if "ephemeral" in attributes: # pragma no branch |
| 109 | self._ephemeral = self._makeBoolAttribute(attributes["ephemeral"]) |
| 110 | if "id" in attributes: # pragma no branch |
| 111 | self._id = self._makeIntAttribute(attributes["id"]) |
| 112 | if "labels" in attributes: |
| 113 | self._labels = self._makeListOfDictsAttribute(attributes["labels"]) |
| 114 | if "name" in attributes: # pragma no branch |
| 115 | self._name = self._makeStringAttribute(attributes["name"]) |
| 116 | if "os" in attributes: # pragma no branch |
| 117 | self._os = self._makeStringAttribute(attributes["os"]) |
| 118 | if "runner_group_id" in attributes: # pragma no branch |
| 119 | self._runner_group_id = self._makeIntAttribute(attributes["runner_group_id"]) |
| 120 | if "status" in attributes: # pragma no branch |
| 121 | self._status = self._makeStringAttribute(attributes["status"]) |
nothing calls this directly
no test coverage detected