Gets all repository variables :rtype: :class:`PaginatedList` of :class:`github.Variable.Variable`
(self)
| 2089 | ) |
| 2090 | |
| 2091 | def get_variables(self) -> PaginatedList[github.Variable.Variable]: |
| 2092 | """ |
| 2093 | Gets all repository variables :rtype: :class:`PaginatedList` of :class:`github.Variable.Variable` |
| 2094 | """ |
| 2095 | return PaginatedList( |
| 2096 | github.Variable.Variable, |
| 2097 | self._requester, |
| 2098 | f"{self.url}/actions/variables", |
| 2099 | None, |
| 2100 | attributesTransformer=PaginatedList.override_attributes({"variables_url": f"{self.url}/actions/variables"}), |
| 2101 | list_item="variables", |
| 2102 | ) |
| 2103 | |
| 2104 | def get_variable(self, variable_name: str) -> github.Variable.Variable: |
| 2105 | """ |
no test coverage detected