(self, attributes: dict[str, Any])
| 123 | return self._weeks.value |
| 124 | |
| 125 | def _useAttributes(self, attributes: dict[str, Any]) -> None: |
| 126 | if "author" in attributes: # pragma no branch |
| 127 | self._author = self._makeUnionClassAttributeFromTypeKey( |
| 128 | "type", |
| 129 | "User", |
| 130 | attributes["author"], |
| 131 | (github.NamedUser.NamedUser, "User"), |
| 132 | (github.Organization.Organization, "Organization"), |
| 133 | ) |
| 134 | if "total" in attributes: # pragma no branch |
| 135 | self._total = self._makeIntAttribute(attributes["total"]) |
| 136 | if "weeks" in attributes: # pragma no branch |
| 137 | self._weeks = self._makeListOfClassesAttribute(self.Week, attributes["weeks"]) |
nothing calls this directly
no test coverage detected