From 0915f85b7a2047c2469adc69ddcba2b14b104be8 Mon Sep 17 00:00:00 2001 From: agronholm Date: Mon, 11 Apr 2011 02:19:36 +0300 Subject: Readded Scheduler.unschedule_func(), which now raises a KeyError when no matching jobs are found; renamed max_concurrency to max_instances --- docs/migration.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/migration.rst') diff --git a/docs/migration.rst b/docs/migration.rst index 5fce220..ccdb214 100644 --- a/docs/migration.rst +++ b/docs/migration.rst @@ -4,6 +4,7 @@ Migrating from APScheduler v1.x to 2.0 There have been some API changes since the 1.x series. This document explains the changes made to v2.0 that are incompatible with the v1.x API. + API changes ----------- @@ -14,9 +15,12 @@ API changes * dump_jobs() is now print_jobs() and prints directly to the given file or sys.stdout if none is given * The ``repeat`` parameter was removed from - :meth:`apscheduler.scheduler.Scheduler.add_interval_job` and - :meth:`apscheduler.scheduler.Scheduler.interval_schedule` in favor of the + :meth:`~apscheduler.scheduler.Scheduler.add_interval_job` and + :meth:`~apscheduler.scheduler.Scheduler.interval_schedule` in favor of the universal ``max_runs`` option +* :meth:`~apscheduler.scheduler.Scheduler.unschedule_func` now raises a + KeyError if the given function is not scheduled + Configuration changes --------------------- -- cgit v1.2.1