:calls: `DELETE /teams/{team_id}/repos/{owner}/{repo} `_
(self, repo: str | Repository)
| 517 | headers, data = self._requester.requestJsonAndCheck("DELETE", f"{self.url}/members/{member._identity}") |
| 518 | |
| 519 | def remove_from_repos(self, repo: str | Repository) -> None: |
| 520 | """ |
| 521 | :calls: `DELETE /teams/{team_id}/repos/{owner}/{repo} <https://docs.github.com/en/rest/reference/teams>`_ |
| 522 | """ |
| 523 | assert isinstance(repo, (str, github.Repository.Repository)), repo |
| 524 | headers, data = self._requester.requestJsonAndCheck( |
| 525 | "DELETE", f"{self.url}/repos/{github.Repository.Repository.as_url_param(repo)}" |
| 526 | ) |
| 527 | |
| 528 | def _useAttributes(self, attributes: dict[str, Any]) -> None: |
| 529 | if "created_at" in attributes: # pragma no branch |
no test coverage detected