scheduler_sql

class pytq.scheduler_sql.SqlScheduler(logger=None, uri=None, table=None)

A SQL database backed scheduler. Fingerprint of input data will be stored under id_key column (“_id” by default). output data will be serialized and stored under out_key column.

Parameters:
  • uri – connection string for sqlaclhemy.create_engine(uri) Example: postgresql://username:password@localhost:5432/mydatabase
  • table – str or sa.Table. If you use the default post process, the table has to have _out column. But a string name is recommended.