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

Method get_status

github/Migration.py:192–200  ·  view source on GitHub ↗

:calls: `GET /user/migrations/{migration_id} `_

(self)

Source from the content-addressed store, hash-verified

190 return self._url.value
191
192 def get_status(self) -> str:
193 """
194 :calls: `GET /user/migrations/{migration_id} <https://docs.github.com/en/rest/reference/migrations>`_
195 """
196 headers, data = self._requester.requestJsonAndCheck(
197 "GET", self.url, headers={"Accept": Consts.mediaTypeMigrationPreview}
198 )
199 self._useAttributes(data)
200 return self.state
201
202 def get_archive_url(self) -> str:
203 """

Callers 2

setUpMethod · 0.45
testGetStatusMethod · 0.45

Calls 2

_useAttributesMethod · 0.95
requestJsonAndCheckMethod · 0.80

Tested by

no test coverage detected