haive.core.schema.engine_io_mixinΒΆ
Engine I/O Schema Mixin for State Schemas.
This module provides a mixin to handle engine-related I/O logic separately from the core state schema functionality. This separation makes the code more modular and allows for optional engine capabilities.
ClassesΒΆ
Mixin to add engine I/O management capabilities to state schemas. |
Module ContentsΒΆ
- class haive.core.schema.engine_io_mixin.EngineIOSchemaMixin(/, **data)[source]ΒΆ
Bases:
pydantic.BaseModel
Mixin to add engine I/O management capabilities to state schemas.
This mixin provides: - Engine I/O field mappings - Engine validation and serialization - Convenience properties for engine access - Engine-related state operations
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- Parameters:
data (Any)