class_docstr: A persisted model for inter-process model sharing.
  
  These objects can be pickled for transmission to a worker process.
  
  .. note::
      Subclasses need to override the pickling protocol to implement the
      proper pickling implementation.
class_docstr_tok: ["A","persisted","model","for","inter-process","model","sharing",".","These","objects","can","be","pickled","for","transmission","to","a","worker","process",".","..","note",":",":","Subclasses","need","to","override","the","pickling","protocol","to","implement","the","proper","pickling","implementation","."]
docstr: Release the persisted model resources.  Should only be called in the
  parent process (will do nothing in a child process).
docstr_tok: ["Release","the","persisted","model","resources",".","Should","only","be","called","in","the","parent","process","(","will","do","nothing","in","a","child","process",")","."]
code: def close(self):
      """
      Release the persisted model resources.  Should only be called in the
      parent process (will do nothing in a child process).
      """
      pass
  
file_path: lkpy/lenskit/sharing/__init__.py
imports: import os
  import warnings
  from abc import abstractmethod, ABC
  from contextlib import contextmanager
  import threading
  import logging
  from .binpickle import persist_binpickle, BPKPersisted
  from .shm import persist_shm, SHMPersisted, SHM_AVAILABLE
label_desc: Use image node_id 2 for calling the PersistedModel obj's underlying member method code with example usage: obj.close() without return types