| 1 |
:mod:`apscheduler.jobstores.memory` |
| 2 |
=================================== |
| 3 |
|
| 4 |
.. automodule:: apscheduler.jobstores.memory |
| 5 |
|
| 6 |
API |
| 7 |
--- |
| 8 |
|
| 9 |
.. autoclass:: MemoryJobStore |
| 10 |
:show-inheritance: |
| 11 |
|
| 12 |
|
| 13 |
Introduction |
| 14 |
------------ |
| 15 |
|
| 16 |
MemoryJobStore stores jobs in memory as-is, without serializing them. This allows you to schedule callables that are |
| 17 |
unreachable globally and use job non-serializable job arguments. |
| 18 |
|
| 19 |
.. list-table:: |
| 20 |
:widths: 1 4 |
| 21 |
|
| 22 |
* - External dependencies |
| 23 |
- none |
| 24 |
* - Example |
| 25 |
- ``examples/schedulers/blocking.py`` |
| 26 |
(`view online <https://github.com/agronholm/apscheduler/tree/3.x/examples/schedulers/blocking.py>`_). |
| 27 |
|
| 28 |
.. caution:: Unlike with other job stores, changes made to any mutable job arguments persist across job invocations. |
| 29 |
You can use this to your advantage, however. |