memote.suite.results.sql_result_manager

Provide a memote result manager that is git aware and uses a SQL database.

Module Contents

Classes

SQLResultManager Manage storage of results to a database.
class memote.suite.results.sql_result_manager.SQLResultManager(**kwargs)[source]

Bases: memote.suite.results.repo_result_manager.RepoResultManager

Manage storage of results to a database.

store(self, result, commit=None, **kwargs)[source]

Store a result in a JSON file attaching git meta information.

Parameters:
result : memote.MemoteResult

The dictionary structure of results.

commit : str, optional

Unique hexsha of the desired commit.

kwargs

Passed to parent function.

load(self, commit=None)[source]

Load a result from the database.