instancelib.utils.saveablemodel module

class instancelib.utils.saveablemodel.SaveableInnerModel(innermodel, storage_location=None, filename=None, taboo_fields=None)[source]

Bases: object

Parameters:
property filepath: PathLike[str] | None
property has_storage_location: bool
property is_loaded: bool
property is_stored: bool
load()[source]
Return type:

None

static load_model_fallback(func)[source]
Parameters:

func (TypeVar(F, bound= Callable[..., Any])) –

Return type:

TypeVar(F, bound= Callable[..., Any])

save()[source]
Return type:

None