|
def | __init__ (self, database_path, read_only=False, timeout=30.0, isolation_level=None) |
|
def | insert_calibration (self, calibration_name, state="init", checkpoint="init", iteration=0) |
|
def | update_calibration_value (self, calibration_name, column_name, new_value, attempts=3) |
|
def | get_calibration_value (self, calibration_name, column_name) |
|
def | output_calibration_table (self) |
|
def | __enter__ (self) |
|
def | __exit__ (self, type, value, traceback) |
|
def | close (self) |
|
def | open (self) |
|
def | commit (self) |
|
def | query (self, sql, parameters=tuple()) |
|
def | create_schema (self) |
|
def | get_uri (self) |
|
Parameters:
database_path (pathlib.Path): The path to the database file we want to create/connect to.
Keyword Arguments:
read_only (bool): Should the connection be treated as a read-only connection (no update/insert calls)
timeout (float): What timeout value should the connection have. How long to wait for other changes to commit.
Definition at line 100 of file database.py.