link.group
GroupModel()
Bases: BipObject
Source code in client/bip/link/group.py
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
|
add_membership(group_model, required=True)
Adds a required or optional membership.
Tip
Required or optional memberships are GroupModel that any new Project created with the current ProjectModel must or can be member of in order to be saved.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
group_model |
GroupModel
|
GroupModel: GroupModel. |
required |
required |
bool |
True
|
Raises:
Type | Description |
---|---|
ValueError
|
Failed validation. |
TypeError
|
Failed validation. |
Source code in client/bip/link/group.py
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 |
|