:calls: `GET /users/{username}/projects `_
(self, state: str = "open")
| 477 | ) |
| 478 | |
| 479 | def get_projects(self, state: str = "open") -> PaginatedList[Project]: |
| 480 | """ |
| 481 | :calls: `GET /users/{username}/projects <https://docs.github.com/en/rest/reference/projects#list-user-projects>`_ |
| 482 | """ |
| 483 | assert isinstance(state, str), state |
| 484 | url_parameters = {"state": state} |
| 485 | return github.PaginatedList.PaginatedList( |
| 486 | github.Project.Project, |
| 487 | self._requester, |
| 488 | f"{self.url}/projects", |
| 489 | url_parameters, |
| 490 | headers={"Accept": Consts.mediaTypeProjectsPreview}, |
| 491 | ) |
| 492 | |
| 493 | def get_public_events(self) -> PaginatedList[Event]: |
| 494 | """ |
no outgoing calls
no test coverage detected