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

Method get_variables

github/Repository.py:2091–2102  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

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

Callers 3

testGetVariablesMethod · 0.45
testRepoVariablesMethod · 0.45

Calls 2

PaginatedListClass · 0.90
override_attributesMethod · 0.80

Tested by

no test coverage detected