Skip to content

Commit b4edb40

Browse files
UN-2813 Minor fixes
1 parent ad6a3c9 commit b4edb40

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

unstract/task-abstraction/src/unstract/task_abstraction/backends/celery.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,9 @@ def __init__(self, config: BackendConfig | None = None):
3737
3838
Args:
3939
config: Backend configuration with Celery connection parameters
40-
41-
Note:
42-
Configure retries, DLQ, persistence in Celery configuration, not here.
4340
"""
4441
if not CELERY_AVAILABLE:
45-
raise ImportError("Celery is not installed. Install with: pip install celery")
42+
raise ImportError("Missing dependency: celery")
4643

4744
super().__init__(config)
4845
logger.info("Initializing Celery backend")

unstract/task-abstraction/src/unstract/task_abstraction/backends/hatchet.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ def __init__(self, config: BackendConfig | None = None):
3434
config: Backend configuration with Hatchet connection parameters
3535
"""
3636
if not HATCHET_AVAILABLE:
37-
raise ImportError(
38-
"Hatchet SDK is not installed. Install with: pip install hatchet-sdk"
39-
)
37+
raise ImportError("Missing dependency: hatchet-sdk")
4038

4139
super().__init__()
4240

0 commit comments

Comments
 (0)