-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path__init__.py
More file actions
53 lines (48 loc) · 1 KB
/
__init__.py
File metadata and controls
53 lines (48 loc) · 1 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
"""
docket - A distributed background task system for Python functions.
docket focuses on scheduling future work as seamlessly and efficiently as immediate work.
"""
from importlib.metadata import version
__version__ = version("pydocket")
from .agenda import Agenda
from .annotations import Logged
from .dependencies import (
ConcurrencyLimit,
CurrentDocket,
CurrentExecution,
CurrentWorker,
Depends,
ExponentialRetry,
Perpetual,
Progress,
Retry,
TaskArgument,
TaskKey,
TaskLogger,
Timeout,
)
from .docket import Docket
from .execution import Execution, ExecutionState
from .worker import Worker
__all__ = [
"__version__",
"Agenda",
"ConcurrencyLimit",
"CurrentDocket",
"CurrentExecution",
"CurrentWorker",
"Depends",
"Docket",
"Execution",
"ExecutionState",
"ExponentialRetry",
"Logged",
"Perpetual",
"Progress",
"Retry",
"TaskArgument",
"TaskKey",
"TaskLogger",
"Timeout",
"Worker",
]