CBFS Storage 2020 Python Edition

Questions / Feedback?

load_from_file Method

Copies contents of a file-based vault into the in-memory vault.

Syntax

def load_from_file(file_name: str) -> None: ...

Remarks

This method loads the contents of the vault, specified by FileName, into the class.

If the in-memory vault is not opened, LoadFromFileopens an in-memory vault. If the in-memory vault is already opened, it is closed by this method.

If the vault is encrypted, then before calling on_load_from_file, the application should set proper values to vault_encryption and vault_password properties.

Note: This method can only be called when active is True, and cannot be called within events.

Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Storage 2020 Python Edition - Version 20.0 [Build 8031]