Adds a new, possibly optional, client group to the model. Returns the created group.
(
self, required: bool = True, *, name: str = ""
)
| 267 | return client |
| 268 | |
| 269 | def add_client_group( |
| 270 | self, required: bool = True, *, name: str = "" |
| 271 | ) -> ClientGroup: |
| 272 | """ |
| 273 | Adds a new, possibly optional, client group to the model. Returns the |
| 274 | created group. |
| 275 | """ |
| 276 | group = ClientGroup(required=required, name=name) |
| 277 | self._groups.append(group) |
| 278 | return group |
| 279 | |
| 280 | def add_depot( |
| 281 | self, |