Session.load_session#

Session.load_session(filepath, persist=True)[source]#

Restore session state from a session file.

Handles both .pickle and indexed .mosaic formats.

Parameters:
filepathstr

Path to the session file.

persistbool, optional

When True (default), replace the current session state. When False, geometries are only available via @last.