summaryrefslogtreecommitdiff
path: root/docs/modules/jobstores/memory.rst
blob: b7f185527883151e2001c7773181c4b86bf9ef58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
:mod:`apscheduler.jobstores.memory`
===================================

.. automodule:: apscheduler.jobstores.memory

API
---

.. autoclass:: MemoryJobStore
    :show-inheritance:


Introduction
------------

MemoryJobStore stores jobs in memory as-is, without serializing them. This allows you to schedule callables that are
unreachable globally and use job non-serializable job arguments.

.. list-table::
   :widths: 1 4

   * - External dependencies
     - none
   * - Example
     - ``examples/schedulers/blocking.py``
       (`view online <https://github.com/agronholm/apscheduler/tree/3.x/examples/schedulers/blocking.py>`_).

.. caution:: Unlike with other job stores, changes made to any mutable job arguments persist across job invocations.
   You can use this to your advantage, however.