horsies 0.1.0a3__tar.gz → 0.1.0a4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {horsies-0.1.0a3 → horsies-0.1.0a4}/PKG-INFO +1 -1
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/types/status.py +7 -7
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies.egg-info/PKG-INFO +1 -1
- {horsies-0.1.0a3 → horsies-0.1.0a4}/pyproject.toml +1 -1
- {horsies-0.1.0a3 → horsies-0.1.0a4}/README.md +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/__init__.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/__init__.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/app.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/banner.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/brokers/__init__.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/brokers/listener.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/brokers/postgres.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/cli.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/codec/serde.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/errors.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/logging.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/__init__.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/app.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/broker.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/queues.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/recovery.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/schedule.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/task_pg.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/tasks.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/workflow.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/workflow_pg.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/registry/tasks.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/scheduler/__init__.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/scheduler/calculator.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/scheduler/service.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/scheduler/state.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/task_decorator.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/utils/imports.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/utils/loop_runner.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/worker/current.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/worker/worker.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/workflows/__init__.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/workflows/engine.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/workflows/recovery.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/workflows/registry.py +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/py.typed +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies.egg-info/SOURCES.txt +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies.egg-info/dependency_links.txt +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies.egg-info/entry_points.txt +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies.egg-info/requires.txt +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies.egg-info/top_level.txt +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/setup.cfg +0 -0
- {horsies-0.1.0a3 → horsies-0.1.0a4}/tests/test_issue_fixes.py +0 -0
|
@@ -10,20 +10,20 @@ from enum import Enum
|
|
|
10
10
|
class TaskStatus(Enum):
|
|
11
11
|
"""Task execution status"""
|
|
12
12
|
|
|
13
|
-
PENDING = '
|
|
13
|
+
PENDING = 'PENDING' # It awaits to be a candidate for execution.
|
|
14
14
|
# Default status when the task is sent.
|
|
15
15
|
|
|
16
16
|
CLAIMED = (
|
|
17
|
-
'
|
|
17
|
+
'CLAIMED' # It has been claimed by a worker but not yet started executing.
|
|
18
18
|
)
|
|
19
19
|
|
|
20
|
-
RUNNING = '
|
|
20
|
+
RUNNING = 'RUNNING' # It is being executed by a process.
|
|
21
21
|
|
|
22
|
-
COMPLETED = '
|
|
22
|
+
COMPLETED = 'COMPLETED' # It has been executed successfully.
|
|
23
23
|
|
|
24
|
-
FAILED = '
|
|
25
|
-
CANCELLED = '
|
|
26
|
-
REQUEUED = '
|
|
24
|
+
FAILED = 'FAILED' # It has failed to be executed.
|
|
25
|
+
CANCELLED = 'CANCELLED' # It has been cancelled.
|
|
26
|
+
REQUEUED = 'REQUEUED' # It has been requeued after a failure.
|
|
27
27
|
|
|
28
28
|
@property
|
|
29
29
|
def is_terminal(self) -> bool:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|