Method
search_groups
(
self,
*,
# Pagination required as of August 30, 2019.
count: int,
start_index: int,
filter: Optional[str] = None,
)
Source from the content-addressed store, hash-verified
| 175 | # ------------------------- |
| 176 | |
| 177 | def search_groups( |
| 178 | self, |
| 179 | *, |
| 180 | # Pagination required as of August 30, 2019. |
| 181 | count: int, |
| 182 | start_index: int, |
| 183 | filter: Optional[str] = None, |
| 184 | ) -> SearchGroupsResponse: |
| 185 | return SearchGroupsResponse( |
| 186 | self.api_call( |
| 187 | http_verb="GET", |
| 188 | path="Groups", |
| 189 | query_params={ |
| 190 | "filter": filter, |
| 191 | "count": count, |
| 192 | "startIndex": start_index, |
| 193 | }, |
| 194 | ) |
| 195 | ) |
| 196 | |
| 197 | def read_group(self, id: str) -> ReadGroupResponse: |
| 198 | return ReadGroupResponse(self.api_call(http_verb="GET", path=f"Groups/{quote(id)}")) |