Skip to content

Commit 3a2d409

Browse files
author
Oluwafemi Adenuga
authored
Get project types
2 parents f25f568 + f7fc263 commit 3a2d409

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

openproject/client.py

+3
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ def update(self, id: int, **kwargs):
133133
def delete(self, id: int):
134134
return self.client._send_request("DELETE", f"projects/{id}")
135135

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

137140
class Statuses(SubClient):
138141
def list(self):

0 commit comments

Comments
 (0)