Skip to content

Commit 77c5764

Browse files
jeremymanningclaude
andcommitted
Add missing BaseWrapperConfig class to wrapper_base
- Add BaseWrapperConfig dataclass with enabled, timeout, retry, fallback, monitoring, caching fields - Resolves import error in tests/integration/test_pipeline_wrapper_validation.py - Part of Issue #352 (missing wrapper exports) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent b040c47 commit 77c5764

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/orchestrator/core/wrapper_base.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,25 @@ def fallback_result(
119119
)
120120

121121

122+
@dataclass
123+
class BaseWrapperConfig:
124+
"""Base configuration class for wrapper implementations."""
125+
126+
# Basic configuration
127+
enabled: bool = True
128+
timeout_seconds: float = 30.0
129+
retry_count: int = 3
130+
retry_delay_seconds: float = 1.0
131+
132+
# Feature flags
133+
use_fallback: bool = True
134+
enable_monitoring: bool = True
135+
enable_caching: bool = False
136+
137+
# Custom configuration
138+
custom_config: Optional[Dict[str, Any]] = None
139+
140+
122141
@dataclass
123142
class WrapperContext:
124143
"""

0 commit comments

Comments
 (0)