GroupSetService#

class GroupSetService[source]#

Methods

create_group

Create a group for the given group set.

get

Get a single GroupSet by id.

delete

Delete a GroupSet.

get_all_groups

Get all groups for a given group set.

create_group(json_body, *, group_set_id, extra_parameters=None)[source]#

Create a group for the given group set.

Parameters:
Returns:

The newly created group.

Return type:

ExtendedGroup

get(*, group_set_id, extra_parameters=None)[source]#

Get a single GroupSet by id.

Parameters:
Returns:

A response containing the JSON serialized group set.

Return type:

GroupSet

delete(*, group_set_id, extra_parameters=None)[source]#

Delete a GroupSet.

You can only delete a group set if there are no groups in the set and no assignment is connected to the group set.

Parameters:
Returns:

Nothing.

Return type:

None

get_all_groups(*, group_set_id, extra_parameters=None)[source]#

Get all groups for a given group set.

Parameters:
Returns:

All the groups for the given group set.

Return type:

Sequence[ExtendedGroup]