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 YAMLA simple way to write configurations. It's basically a list that computers can read easily. string.

from_yaml_file​

@classmethod
def from_yaml_file(cls, file_path: str)

Create a Model instance from a YAML file.