feriennet.exports.occasion

Classes

OccasionExport

OccasionNeedExport

Module Contents

class feriennet.exports.occasion.OccasionExport(**kwargs: object)[source]

Bases: onegov.feriennet.exports.base.FeriennetExport

run(form: onegov.feriennet.forms.PeriodExportForm, session: sqlalchemy.orm.Session) Iterator[Iterator[tuple[str, Any]]][source]
query(session: sqlalchemy.orm.Session, period: onegov.activity.models.Period) Query[Occasion][source]
rows(session: sqlalchemy.orm.Session, period: onegov.activity.models.Period) Iterator[Iterator[tuple[str, Any]]][source]
fields(occasion: onegov.activity.Occasion) Iterator[tuple[str, Any]][source]
class feriennet.exports.occasion.OccasionNeedExport(**kwargs: object)[source]

Bases: onegov.feriennet.exports.base.FeriennetExport

run(form: onegov.feriennet.forms.PeriodExportForm, session: sqlalchemy.orm.Session) Iterator[Iterator[tuple[str, Any]]][source]
query(session: sqlalchemy.orm.Session, period: onegov.activity.models.Period) Query[OccasionNeed][source]
rows(session: sqlalchemy.orm.Session, period: onegov.activity.models.Period) Iterator[Iterator[tuple[str, Any]]][source]
fields(need: onegov.activity.OccasionNeed) Iterator[tuple[str, Any]][source]