Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /dislovelhl_enhanced-agent-bus /middlewares /batch /__init__.py
| """ | |
| Batch Processing Middleware for ACGS-2 Pipeline. | |
| Constitutional Hash: 608508a9bd224290 | |
| This module provides specialized middleware for batch request processing: | |
| - Validation: Batch structure and schema validation | |
| - Tenant Isolation: Multi-tenant consistency enforcement | |
| - Deduplication: Duplicate request detection and removal | |
| - Governance: MACI and constitutional compliance | |
| - Concurrency: Concurrent processing control | |
| - Processing: Core batch item execution | |
| - Auto-tuning: Dynamic batch size adjustment | |
| - Metrics: Batch-level metrics collection | |
| """ | |
| from .auto_tune import ( | |
| BatchAutoTuneException, | |
| BatchAutoTuneMiddleware, | |
| ) | |
| from .concurrency import ( | |
| BatchConcurrencyException, | |
| BatchConcurrencyMiddleware, | |
| ) | |
| from .context import BatchPipelineContext | |
| from .deduplication import ( | |
| BatchDeduplicationException, | |
| BatchDeduplicationMiddleware, | |
| ) | |
| from .exceptions import BatchMiddlewareException | |
| from .governance import ( | |
| BatchGovernanceException, | |
| BatchGovernanceMiddleware, | |
| ) | |
| from .metrics import ( | |
| BatchMetricsException, | |
| BatchMetricsMiddleware, | |
| ) | |
| from .processing import ( | |
| BatchProcessingException, | |
| BatchProcessingMiddleware, | |
| ) | |
| from .tenant_isolation import ( | |
| BatchTenantIsolationException, | |
| BatchTenantIsolationMiddleware, | |
| ) | |
| from .validation import ( | |
| BatchValidationException, | |
| BatchValidationMiddleware, | |
| ) | |
| __all__ = [ | |
| "BatchAutoTuneException", | |
| # Auto-tuning | |
| "BatchAutoTuneMiddleware", | |
| "BatchConcurrencyException", | |
| # Concurrency | |
| "BatchConcurrencyMiddleware", | |
| "BatchDeduplicationException", | |
| # Deduplication | |
| "BatchDeduplicationMiddleware", | |
| "BatchGovernanceException", | |
| # Governance | |
| "BatchGovernanceMiddleware", | |
| "BatchMetricsException", | |
| # Metrics | |
| "BatchMetricsMiddleware", | |
| # Base Exception | |
| "BatchMiddlewareException", | |
| # Context | |
| "BatchPipelineContext", | |
| "BatchProcessingException", | |
| # Processing | |
| "BatchProcessingMiddleware", | |
| "BatchTenantIsolationException", | |
| # Tenant Isolation | |
| "BatchTenantIsolationMiddleware", | |
| "BatchValidationException", | |
| # Validation | |
| "BatchValidationMiddleware", | |
| ] | |
Xet Storage Details
- Size:
- 2.16 kB
- Xet hash:
- f5960c06887caa1bfe7460f5d6ad84793d31f8a3b1ddca2d7011d2ef6cd1bbe5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.