qualia_core.datamodel.DataModel module

class qualia_core.datamodel.DataModel.DataModel(name: str, sets: Sets[T] | None = None)[source]

Bases: Generic[T]

class Sets(train: 'U | None' = None, valid: 'U | None' = None, test: 'U | None' = None)[source]

Bases: Generic[U]

train: U | None = None
valid: U | None = None
test: U | None = None
classmethod fieldnames() tuple[str, ...][source]
asdict() dict[str, U][source]
export(path: Path) None[source]
sets: Sets[T]
name: str
export() None[source]
import_sets(set_names: list[str], sets_cls: type[Sets[T]], importer: Callable[[Path], T | None]) None[source]