flexget.components.pending_approval.db module#

class flexget.components.pending_approval.db.PendingEntry(task_name, entry)[source]#

Bases: VersionedBase

to_dict()[source]#
_json#
_sa_class_manager = {'_json': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'added': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'approved': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'entry': <sqlalchemy.orm.attributes.create_proxied_attribute.<locals>.Proxy object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'task_name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'title': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'url': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}#
added#
approved#
entry#
id#
task_name#
title#
url#
flexget.components.pending_approval.db.db_cleanup(manager, session)[source]#
flexget.components.pending_approval.db.get_entry_by_id(session, entry_id)[source]#
flexget.components.pending_approval.db.list_pending_entries(session, task_name=None, approved=None, start=None, stop=None, sort_by='added', descending=True)[source]#