read_session_index#

read_session_index(filepath)[source]#

Read the session file index.

Returns {"format_version": 0} for legacy pure-pickle files.

Parameters:
filepathstr

Path to a session file.

Returns:
dict

Parsed index dictionary.