| 198 | return ReadGroupResponse(self.api_call(http_verb="GET", path=f"Groups/{quote(id)}")) |
| 199 | |
| 200 | def create_group(self, group: Union[Dict[str, Any], Group]) -> GroupCreateResponse: |
| 201 | return GroupCreateResponse( |
| 202 | self.api_call( |
| 203 | http_verb="POST", |
| 204 | path="Groups", |
| 205 | body_params=group.to_dict() if isinstance(group, Group) else _to_dict_without_not_given(group), |
| 206 | ) |
| 207 | ) |
| 208 | |
| 209 | def patch_group(self, id: str, partial_group: Union[Dict[str, Any], Group]) -> GroupPatchResponse: |
| 210 | return GroupPatchResponse( |