org.models.sitecollection ========================= .. py:module:: org.models.sitecollection Classes ------- .. autoapisummary:: org.models.sitecollection.SiteCollection Module Contents --------------- .. py:class:: SiteCollection(session: sqlalchemy.orm.Session) .. py:attribute:: session .. py:method:: get_topics(session: sqlalchemy.orm.Session) -> sqlalchemy.orm.Query[onegov.org.models.page.Topic] :staticmethod: .. py:method:: get_news(session: sqlalchemy.orm.Session) -> sqlalchemy.orm.Query[onegov.org.models.page.News] :staticmethod: .. py:method:: get_forms(session: sqlalchemy.orm.Session) -> sqlalchemy.orm.Query[onegov.form.models.FormDefinition] :staticmethod: .. py:method:: get_resources(session: sqlalchemy.orm.Session) -> sqlalchemy.orm.Query[onegov.reservation.Resource] :staticmethod: .. py:method:: get_directories(session: sqlalchemy.orm.Session) -> sqlalchemy.orm.Query[onegov.directory.Directory] :staticmethod: .. py:method:: get_imagesets(session: sqlalchemy.orm.Session) -> sqlalchemy.orm.Query[onegov.org.models.file.ImageSet] :staticmethod: .. py:method:: get() -> dict[str, tuple[Any, Ellipsis]]