MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / get_variables

Method get_variables

github/Environment.py:234–245  ·  view source on GitHub ↗

Gets all repository variables :rtype: :class:`PaginatedList` of :class:`Variable`

(self)

Source from the content-addressed store, hash-verified

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 """

Callers

nothing calls this directly

Calls 2

PaginatedListClass · 0.90
override_attributesMethod · 0.80

Tested by

no test coverage detected