(self, attributes: dict[str, Any])
| 92 | return self._used.value |
| 93 | |
| 94 | def _useAttributes(self, attributes: dict[str, Any]) -> None: |
| 95 | if "limit" in attributes: # pragma no branch |
| 96 | self._limit = self._makeIntAttribute(attributes["limit"]) |
| 97 | if "remaining" in attributes: # pragma no branch |
| 98 | self._remaining = self._makeIntAttribute(attributes["remaining"]) |
| 99 | if "reset" in attributes: # pragma no branch |
| 100 | self._reset = self._makeTimestampAttribute(attributes["reset"]) |
| 101 | if "used" in attributes: # pragma no branch |
| 102 | self._used = self._makeIntAttribute(attributes["used"]) |
nothing calls this directly
no test coverage detected