BaseObjectManager

Defines the basic parameters of an object interface that can handle marshalling the core data behind and object attribute to disk or vice versa

 

__init__(self, obj): 

LLM Docstring

Associate the manager with an object and initialize lazy basename storage.

  • obj: object

    object to serialize or manage

  • :returns: None

    No explicit value; the method mutates state or performs I/O.

 

get_basename(self): 

LLM Docstring

Build a storage basename from the object type and its serialization_id or runtime identity.

  • :returns: str

    the generated storage basename

 

@property
basename(self): 

LLM Docstring

Lazily compute and cache the manager basename.

  • :returns: str

    The resolved filesystem path or basename.

 

save_attr(self, attr): 

Saves some attribute of the object

  • attr: Any
  • :returns: _

 

load_attr(self, attr): 

Loads some attribute of the object

  • attr: Any
  • :returns: _

 

del_attr(self, attr): 

Deletes some attribute of the object

  • attr: Any
  • :returns: _

Feedback

Examples

Templates

Documentation