Skip to content

Commit c685db3

Browse files
committed
Get project types
1 parent f25f568 commit c685db3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

openproject/client.py

Lines changed: 3 additions & 0 deletions
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 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)