apscheduler.jobstores.rethinkdb

API

class apscheduler.jobstores.rethinkdb.RethinkDBJobStore(database='apscheduler', table='jobs', client=None, pickle_protocol=pickle.HIGHEST_PROTOCOL, **connect_args)

Bases: BaseJobStore

Stores jobs in a RethinkDB database. Any leftover keyword arguments are directly passed to rethinkdb’s RethinkdbClient.

Plugin alias: rethinkdb

Parameters:
  • database (str) – database to store jobs in

  • collection (str) – collection to store jobs in

  • client – a rethinkdb.net.Connection instance to use instead of providing connection arguments

  • pickle_protocol (int) – pickle protocol level to use (for serialization), defaults to the highest available

Introduction

RethinkDBJobStore stores jobs in a RethinkDB database.

External dependencies

rethinkdb

Example

examples/jobstores/rethinkdb_.py (view online).