(self)
| 314 | |
| 315 | @property |
| 316 | def repository(self) -> Repository: |
| 317 | self._completeIfNotSet(self._repository) |
| 318 | if is_undefined(self._repository): |
| 319 | # The repository was not set automatically, so it must be looked up by url. |
| 320 | repo_url = "/".join(self.url.split("/")[:-2]) |
| 321 | self._repository = github.GithubObject._ValuedAttribute( |
| 322 | github.Repository.Repository(self._requester, self._headers, {"url": repo_url}, completed=False) |
| 323 | ) |
| 324 | return self._repository.value |
| 325 | |
| 326 | @property |
| 327 | def repository_url(self) -> str: |
nothing calls this directly
no test coverage detected