:calls: `GET /repos/{owner}/{repo}/branches `_ :rtype: :class:`PaginatedList` of :class:`github.Branch.Branch`
(self)
| 2337 | return status == 201 |
| 2338 | |
| 2339 | def get_branches(self) -> PaginatedList[Branch]: |
| 2340 | """ |
| 2341 | :calls: `GET /repos/{owner}/{repo}/branches <https://docs.github.com/en/rest/reference/repos>`_ |
| 2342 | :rtype: :class:`PaginatedList` of :class:`github.Branch.Branch` |
| 2343 | """ |
| 2344 | return PaginatedList(github.Branch.Branch, self._requester, f"{self.url}/branches", None) |
| 2345 | |
| 2346 | def get_collaborators( |
| 2347 | self, affiliation: Opt[str] = NotSet, permission: Opt[str] = NotSet |
no test coverage detected