fsi.models.course_subscription ============================== .. py:module:: fsi.models.course_subscription Attributes ---------- .. autoapisummary:: fsi.models.course_subscription.table_name fsi.models.course_subscription.subscription_table Classes ------- .. autoapisummary:: fsi.models.course_subscription.CourseSubscription Module Contents --------------- .. py:data:: table_name :value: 'fsi_reservations' .. py:data:: subscription_table .. py:class:: CourseSubscription Bases: :py:obj:`onegov.core.orm.Base` Linking table between CourseEvent and CourseAttendee. This table is defined in a way such that it can be used for a secondary join in CourseEvent.attendees. attendee_id is Null if its a placeholder subscription. .. py:attribute:: __table__ .. py:attribute:: __tablename__ :value: 'fsi_reservations' .. py:attribute:: __mapper_args__ .. py:attribute:: id :type: sqlalchemy.Column[uuid.UUID] .. py:attribute:: course_event :type: sqlalchemy.orm.relationship[fsi.models.course_event.CourseEvent] .. py:attribute:: attendee :type: sqlalchemy.orm.relationship[fsi.models.course_attendee.CourseAttendee | None] .. py:property:: is_placeholder :type: bool .. py:method:: can_be_confirmed(request: onegov.fsi.request.FsiRequest) -> bool .. py:method:: __str__() -> str