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.
Files changed (48) hide show
  1. {horsies-0.1.0a3 → horsies-0.1.0a4}/PKG-INFO +1 -1
  2. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/types/status.py +7 -7
  3. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies.egg-info/PKG-INFO +1 -1
  4. {horsies-0.1.0a3 → horsies-0.1.0a4}/pyproject.toml +1 -1
  5. {horsies-0.1.0a3 → horsies-0.1.0a4}/README.md +0 -0
  6. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/__init__.py +0 -0
  7. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/__init__.py +0 -0
  8. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/app.py +0 -0
  9. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/banner.py +0 -0
  10. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/brokers/__init__.py +0 -0
  11. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/brokers/listener.py +0 -0
  12. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/brokers/postgres.py +0 -0
  13. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/cli.py +0 -0
  14. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/codec/serde.py +0 -0
  15. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/errors.py +0 -0
  16. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/logging.py +0 -0
  17. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/__init__.py +0 -0
  18. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/app.py +0 -0
  19. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/broker.py +0 -0
  20. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/queues.py +0 -0
  21. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/recovery.py +0 -0
  22. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/schedule.py +0 -0
  23. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/task_pg.py +0 -0
  24. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/tasks.py +0 -0
  25. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/workflow.py +0 -0
  26. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/models/workflow_pg.py +0 -0
  27. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/registry/tasks.py +0 -0
  28. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/scheduler/__init__.py +0 -0
  29. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/scheduler/calculator.py +0 -0
  30. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/scheduler/service.py +0 -0
  31. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/scheduler/state.py +0 -0
  32. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/task_decorator.py +0 -0
  33. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/utils/imports.py +0 -0
  34. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/utils/loop_runner.py +0 -0
  35. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/worker/current.py +0 -0
  36. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/worker/worker.py +0 -0
  37. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/workflows/__init__.py +0 -0
  38. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/workflows/engine.py +0 -0
  39. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/workflows/recovery.py +0 -0
  40. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/core/workflows/registry.py +0 -0
  41. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies/py.typed +0 -0
  42. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies.egg-info/SOURCES.txt +0 -0
  43. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies.egg-info/dependency_links.txt +0 -0
  44. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies.egg-info/entry_points.txt +0 -0
  45. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies.egg-info/requires.txt +0 -0
  46. {horsies-0.1.0a3 → horsies-0.1.0a4}/horsies.egg-info/top_level.txt +0 -0
  47. {horsies-0.1.0a3 → horsies-0.1.0a4}/setup.cfg +0 -0
  48. {horsies-0.1.0a3 → horsies-0.1.0a4}/tests/test_issue_fixes.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: horsies
3
- Version: 0.1.0a3
3
+ Version: 0.1.0a4
4
4
  Summary: A Python library for distributed task execution
5
5
  Author: Suleyman Ozkeskin
6
6
  License-Expression: MIT
@@ -10,20 +10,20 @@ from enum import Enum
10
10
  class TaskStatus(Enum):
11
11
  """Task execution status"""
12
12
 
13
- PENDING = 'pending' # It awaits to be a candidate for execution.
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
- 'claimed' # It has been claimed by a worker but not yet started executing.
17
+ 'CLAIMED' # It has been claimed by a worker but not yet started executing.
18
18
  )
19
19
 
20
- RUNNING = 'running' # It is being executed by a process.
20
+ RUNNING = 'RUNNING' # It is being executed by a process.
21
21
 
22
- COMPLETED = 'completed' # It has been executed successfully.
22
+ COMPLETED = 'COMPLETED' # It has been executed successfully.
23
23
 
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.
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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: horsies
3
- Version: 0.1.0a3
3
+ Version: 0.1.0a4
4
4
  Summary: A Python library for distributed task execution
5
5
  Author: Suleyman Ozkeskin
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "horsies"
7
- version = "0.1.0a3"
7
+ version = "0.1.0a4"
8
8
  description = "A Python library for distributed task execution"
9
9
  readme = "README.md"
10
10
  license = "MIT"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes