Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /dislovelhl_enhanced-agent-bus /_compat /enums.py
| """Shim for src.core.shared.enums.""" | |
| from __future__ import annotations | |
| from typing import TYPE_CHECKING | |
| if TYPE_CHECKING: | |
| from src.core.shared.enums import * # noqa: F403 | |
| from src.core.shared.enums import DecisionType, RiskLevel | |
| else: | |
| try: | |
| from src.core.shared.enums import * # noqa: F403 | |
| from src.core.shared.enums import DecisionType, RiskLevel # explicit re-exports | |
| except ImportError: | |
| from enum import Enum, StrEnum | |
| class RiskLevel(StrEnum): | |
| LOW = "low" | |
| MEDIUM = "medium" | |
| HIGH = "high" | |
| CRITICAL = "critical" | |
| class DecisionType(Enum): | |
| POLICY_CREATION = "policy_creation" | |
| POLICY_EXECUTION = "policy_execution" | |
| CONSTITUTIONAL_REVIEW = "constitutional_review" | |
| DISPUTE_RESOLUTION = "dispute_resolution" | |
| OVERRIDE_REQUEST = "override_request" | |
Xet Storage Details
- Size:
- 914 Bytes
- Xet hash:
- f034168d07c35f1f341e505e058da701d8f2bf7f6d17b373c93bb22233188298
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.