Gets all repository variables :rtype: :class:`PaginatedList` of :class:`Variable`
(self)
| 232 | ) |
| 233 | |
| 234 | def get_variables(self) -> PaginatedList[Variable]: |
| 235 | """ |
| 236 | Gets all repository variables :rtype: :class:`PaginatedList` of :class:`Variable` |
| 237 | """ |
| 238 | return PaginatedList( |
| 239 | github.Variable.Variable, |
| 240 | self._requester, |
| 241 | f"{self.url}/variables", |
| 242 | None, |
| 243 | attributesTransformer=PaginatedList.override_attributes({"variables_url": f"{self.url}/variables"}), |
| 244 | list_item="variables", |
| 245 | ) |
| 246 | |
| 247 | def get_variable(self, variable_name: str) -> Variable: |
| 248 | """ |
nothing calls this directly
no test coverage detected