Source code for people.collections.agencies

from onegov.people.models import Agency
from onegov.core.orm.abstract import AdjacencyListCollection


[docs] class AgencyCollection(AdjacencyListCollection[Agency]): """ Manages a list of agencies. Use it like this:: from onegov.people import AgencyCollection agencies = AgencyCollection(session) """
[docs] __listclass__ = Agency