user.collections.group

Attributes

_G

Classes

UserGroupCollection

Manages a list of user groups.

Module Contents

user.collections.group._G[source]
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)
session[source]
type[source]
property model_class: type[_G][source]
query() Query[_G][source]