fsi.models.course

Classes

Course

Extends the default Searchable class with sensible defaults

Module Contents

class fsi.models.course.Course[source]

Bases: onegov.core.orm.Base, onegov.search.ORMSearchable

Extends the default Searchable class with sensible defaults for SQLAlchemy orm models.

__tablename__ = 'fsi_courses'[source]
es_properties[source]
es_public = True[source]
id: Column[uuid.UUID][source]
name: Column[str][source]
description: Column[str][source]
refresh_interval: Column[int | None][source]
mandatory_refresh: Column[bool][source]
hidden_from_public: Column[bool][source]
events: relationship[AppenderQuery[CourseEvent]][source]
property title: str[source]
property lead: str[source]
property description_html: str[source]

Returns the description that is saved as HTML from the redactor js plugin.

future_events() Query[CourseEvent][source]