Skip to content

Commit

Permalink
Get project types
Browse files Browse the repository at this point in the history
  • Loading branch information
Oluwafemi Adenuga authored Jan 9, 2024
2 parents f25f568 + f7fc263 commit 3a2d409
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openproject/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ def update(self, id: int, **kwargs):
def delete(self, id: int):
return self.client._send_request("DELETE", f"projects/{id}")

def list_types(self, id: int):
return self.client._send_request("GET", f"projects/{id}/types")


class Statuses(SubClient):
def list(self):
Expand Down

0 comments on commit 3a2d409

Please sign in to comment.