Model
Model
¶
Bases: ABC
Abstract base class representing a model with configurable attributes and capabilities.
This class defines the foundational structure for various model types used throughout the system. It encapsulates metadata such as display name, internal identifier, supported capabilities, and configuration parameters—both default and platform-specific. Subclasses must implement this abstract class to provide concrete model implementations.
Key features include attribute encapsulation via getter and setter methods, and a factory method for initializing instances from dictionary representations—useful for configuration loading or serialization/deserialization workflows.
The class is intended to be extended rather than instantiated directly, ensuring that all derived models adhere to a consistent interface while allowing flexibility in behavior and attribute interpretation.