user.collections.group
Attributes
Classes
Manages a list of user groups. |
Module Contents
- class user.collections.group.UserGroupCollection(session: sqlalchemy.orm.Session, type: Literal['*', 'generic'] = ...)[source]
- class user.collections.group.UserGroupCollection(session: sqlalchemy.orm.Session, type: str)
Bases:
onegov.core.collection.GenericCollection
[_G
]Manages a list of user groups.
Use it like this:
from onegov.user import UserGroupCollection groups = UserGroupCollection(session)