cks-runtime 0.4.2__tar.gz → 0.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/PKG-INFO +1 -1
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/config.py +1 -1
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/core_api/validation_result.py +12 -3
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime.egg-info/PKG-INFO +1 -1
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/pyproject.toml +1 -1
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/LICENSE +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/README.md +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/adapters/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/adapters/mcp/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/adapters/mcp/adapter.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/adapters/mcp/contracts.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/adapters/mcp/errors.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/adapters/mcp/handlers.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/adapters/mcp/serializers.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/adapters/mcp/tool_registry.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/core_api/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/core_api/bridge.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/core_api/interfaces.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/diagnostics/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/diagnostics/aggregator.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/diagnostics/diagnostic.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/dispatcher/dispatcher.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/events/event_bus.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/events/runtime_event.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/execution/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/execution/execution_context.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/execution/operation_executor.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/explainability/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/explainability/explainability_manager.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/operations/operation_registry.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/operations/operation_types.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/pipeline/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/pipeline/execution_pipeline.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/runtime.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/session/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/session/session.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/session/session_manager.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/storage/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/storage/memory_storage.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/storage/storage.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/transaction/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/transaction/transaction.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/transaction/transaction_manager.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/versioning/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/versioning/version.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/versioning/version_manager.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime.egg-info/SOURCES.txt +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime.egg-info/dependency_links.txt +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime.egg-info/requires.txt +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime.egg-info/top_level.txt +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime_plugins/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime_plugins/cks_core/__init__.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime_plugins/cks_core/adapter.py +0 -0
- {cks_runtime-0.4.2 → cks_runtime-0.4.3}/setup.cfg +0 -0
|
@@ -18,12 +18,21 @@ class RuntimeValidationResult:
|
|
|
18
18
|
metadata: Mapping[str, Any] = field(default_factory=dict)
|
|
19
19
|
|
|
20
20
|
def __post_init__(self) -> None:
|
|
21
|
-
# diagnostics всегда должен быть кортежем
|
|
22
21
|
object.__setattr__(self, "diagnostics", tuple(self.diagnostics))
|
|
23
|
-
# metadata замораживаем через MappingProxyType – теперь это безопасно,
|
|
24
|
-
# так как cks-core >=1.2.0 поддерживает deepcopy для иммутабельных объектов.
|
|
25
22
|
object.__setattr__(self, "metadata", MappingProxyType(dict(self.metadata)))
|
|
26
23
|
|
|
24
|
+
# ------------------------------------------------------------------
|
|
25
|
+
# Copy semantics
|
|
26
|
+
# ------------------------------------------------------------------
|
|
27
|
+
# RuntimeValidationResult is immutable, so it can safely return self
|
|
28
|
+
# on copy/deepcopy, avoiding issues with MappingProxyType.
|
|
29
|
+
def __copy__(self) -> "RuntimeValidationResult":
|
|
30
|
+
return self
|
|
31
|
+
|
|
32
|
+
def __deepcopy__(self, memo: dict[int, Any]) -> "RuntimeValidationResult":
|
|
33
|
+
memo[id(self)] = self
|
|
34
|
+
return self
|
|
35
|
+
|
|
27
36
|
@property
|
|
28
37
|
def has_diagnostics(self) -> bool:
|
|
29
38
|
return bool(self.diagnostics)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cks_runtime-0.4.2 → cks_runtime-0.4.3}/cks_runtime/explainability/explainability_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|