Get installation for the given URL.
(self, url: str)
| 234 | } |
| 235 | |
| 236 | def _get_installed_app(self, url: str) -> Installation: |
| 237 | """ |
| 238 | Get installation for the given URL. |
| 239 | """ |
| 240 | headers, response = self.__requester.requestJsonAndCheck("GET", url, headers=self._get_headers()) |
| 241 | |
| 242 | return Installation( |
| 243 | requester=self.__requester, |
| 244 | headers=headers, |
| 245 | attributes=response, |
| 246 | ) |
| 247 | |
| 248 | @deprecated( |
| 249 | "Use github.Github(auth=github.Auth.AppAuth), github.Auth.AppAuth.token or github.Auth.AppAuth.create_jwt(expiration) instead" |
no test coverage detected