Chancy API¶
Subpackages¶
Submodules¶
- chancy.app module
ChancyChancy.ExecutorChancy.cancel_job()Chancy.cancel_job_ex()Chancy.declare()Chancy.declare_ex()Chancy.delete_queue()Chancy.delete_queue_ex()Chancy.dsnChancy.get_all_queues()Chancy.get_all_workers()Chancy.get_job()Chancy.get_jobs()Chancy.get_queue()Chancy.is_up_to_date()Chancy.logChancy.max_connection_pool_sizeChancy.migrate()Chancy.min_connection_pool_sizeChancy.notificationsChancy.notify()Chancy.pause_queue()Chancy.pause_queue_ex()Chancy.pluginsChancy.poll_reconnect_timeoutChancy.poolChancy.prefixChancy.purge_jobs()Chancy.purge_jobs_ex()Chancy.push()Chancy.push_ex()Chancy.push_many()Chancy.push_many_ex()Chancy.resume_queue()Chancy.resume_queue_ex()Chancy.retry_jobs()Chancy.retry_jobs_ex()Chancy.sync_declare()Chancy.sync_declare_ex()Chancy.sync_get_job()Chancy.sync_notify()Chancy.sync_poolChancy.sync_push()Chancy.sync_push_many()Chancy.sync_push_many_ex()Chancy.wait_for_job()Chancy.wait_for_jobs()
setup_default_logger()
- chancy.job module
ErrorTIsAJobJobJob.from_func()Job.funcJob.kwargsJob.limitsJob.max_attemptsJob.metaJob.pack()Job.priorityJob.queueJob.scheduled_atJob.unique_keyJob.unpack()Job.with_kwargs()Job.with_limits()Job.with_max_attempts()Job.with_meta()Job.with_priority()Job.with_queue()Job.with_scheduled_at()Job.with_unique_key()
LimitQueuedJobReferencejob()
- chancy.queue module
- chancy.worker module
WorkerWorker.announce_worker()Worker.chancyWorker.executorsWorker.fetch_jobs()Worker.heartbeat_poll_intervalWorker.heartbeat_timeoutWorker.hubWorker.is_leaderWorker.managerWorker.on_job_completed()Worker.on_signal()Worker.outgoingWorker.queue_change_poll_intervalWorker.queue_update()Worker.queue_wake_eventsWorker.register_signal_handlersWorker.send_outgoing_intervalWorker.shutdown_eventWorker.shutdown_timeoutWorker.start()Worker.stop()Worker.wait_for_shutdown()Worker.worker_idWorker.worker_tags()
- chancy.plugin module
PluginPlugin.api_plugin()Plugin.cleanup()Plugin.get_dependencies()Plugin.get_identifier()Plugin.get_scope()Plugin.get_tables()Plugin.migrate()Plugin.migrate_key()Plugin.migrate_package()Plugin.migrator()Plugin.on_job_completed()Plugin.on_job_starting()Plugin.on_job_updated()Plugin.run()Plugin.sleep()Plugin.wait_for_leader()Plugin.wake_up()Plugin.wakeup_signal
PluginScope
- chancy.migrate module
- chancy.hub module
- chancy.plugins.rule module
- chancy.utils module
- chancy.errors module