Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /dislovelhl_enhanced-agent-bus /_ext_chaos.py
| """ | |
| Optional Chaos Engineering Framework (T003). | |
| Constitutional Hash: 608508a9bd224290 | |
| """ | |
| from __future__ import annotations | |
| from typing import TYPE_CHECKING, Any | |
| if TYPE_CHECKING: | |
| from .chaos import ( | |
| CONSTITUTIONAL_HASH as CHAOS_CONSTITUTIONAL_HASH, | |
| ) | |
| from .chaos import ( | |
| ChaosExperiment, | |
| CPUStressScenario, | |
| DependencyFailureScenario, | |
| ExperimentPhase, | |
| ExperimentResult, | |
| ExperimentStatus, | |
| InMemoryMetricCollector, | |
| LatencyInjectionScenario, | |
| MemoryPressureScenario, | |
| NetworkPartitionScenario, | |
| ScenarioExecutor, | |
| ScenarioStatus, | |
| SteadyStateHypothesis, | |
| SteadyStateValidator, | |
| ValidationMetric, | |
| chaos_experiment, | |
| get_experiment_registry, | |
| reset_experiment_registry, | |
| ) | |
| from .chaos import ( | |
| ValidationResult as ChaosValidationResult, | |
| ) | |
| else: | |
| try: | |
| from .chaos import CONSTITUTIONAL_HASH as CHAOS_CONSTITUTIONAL_HASH # noqa: F401 | |
| from .chaos import ( | |
| ChaosExperiment, | |
| CPUStressScenario, | |
| DependencyFailureScenario, | |
| ExperimentPhase, | |
| ExperimentResult, | |
| ExperimentStatus, | |
| InMemoryMetricCollector, | |
| LatencyInjectionScenario, | |
| MemoryPressureScenario, | |
| NetworkPartitionScenario, | |
| ScenarioExecutor, | |
| ScenarioStatus, | |
| SteadyStateHypothesis, | |
| SteadyStateValidator, | |
| ValidationMetric, | |
| chaos_experiment, | |
| get_experiment_registry, | |
| reset_experiment_registry, | |
| ) | |
| from .chaos import ValidationResult as ChaosValidationResult | |
| CHAOS_ENGINEERING_AVAILABLE = True | |
| except ImportError: | |
| CHAOS_ENGINEERING_AVAILABLE = False | |
| ChaosExperiment: Any = object | |
| CPUStressScenario: Any = object | |
| DependencyFailureScenario: Any = object | |
| ExperimentPhase: Any = object | |
| ExperimentResult: Any = object | |
| ExperimentStatus: Any = object | |
| LatencyInjectionScenario: Any = object | |
| MemoryPressureScenario: Any = object | |
| InMemoryMetricCollector: Any = object | |
| NetworkPartitionScenario: Any = object | |
| ScenarioExecutor: Any = object | |
| ScenarioStatus: Any = object | |
| SteadyStateHypothesis: Any = object | |
| SteadyStateValidator: Any = object | |
| ValidationMetric: Any = object | |
| ChaosValidationResult: Any = object | |
| chaos_experiment: Any = object | |
| get_experiment_registry: Any = object | |
| reset_experiment_registry: Any = object | |
| _EXT_ALL = [ | |
| "CHAOS_ENGINEERING_AVAILABLE", | |
| "CHAOS_CONSTITUTIONAL_HASH", | |
| "ChaosExperiment", | |
| "CPUStressScenario", | |
| "DependencyFailureScenario", | |
| "ExperimentPhase", | |
| "ExperimentResult", | |
| "ExperimentStatus", | |
| "LatencyInjectionScenario", | |
| "MemoryPressureScenario", | |
| "InMemoryMetricCollector", | |
| "NetworkPartitionScenario", | |
| "ScenarioExecutor", | |
| "ScenarioStatus", | |
| "SteadyStateHypothesis", | |
| "SteadyStateValidator", | |
| "ValidationMetric", | |
| "ChaosValidationResult", | |
| "chaos_experiment", | |
| "get_experiment_registry", | |
| "reset_experiment_registry", | |
| ] | |
Xet Storage Details
- Size:
- 3.25 kB
- Xet hash:
- ea2decf173dc343386c135555b4a373c3a02032a08989584d09dbc19cd0e42c5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.