Skip to main content

data.model

Model Objects

@dataclass
class Model(DataClassFromDictMixin)

from_yaml

@classmethod
def from_yaml(cls, yaml_string: str)

Create a Model instance from a YAML string.

from_yaml_file

@classmethod
def from_yaml_file(cls, file_path: str)

Create a Model instance from a YAML file.