tardis.plugins.sqliteregistry module

class tardis.plugins.sqliteregistry.SqliteRegistry[source]

Bases: tardis.interfaces.plugin.Plugin

add_machine_types(site_name: str, machine_type: str) None[source]
add_site(site_name: str) None[source]
async async_execute(sql_query: str, bind_parameters: Dict) List[Dict][source]
connect() Generator[sqlite3.Connection, None, None][source]
async delete_resource(bind_parameters: Dict) None[source]
execute(sql_query: str, bind_parameters: Dict) List[Dict][source]
get_resources(site_name: str, machine_type: str) List[Dict][source]
async insert_resource(bind_parameters: Dict) None[source]
async notify(state: tardis.interfaces.state.State, resource_attributes: tardis.utilities.attributedict.AttributeDict) None[source]
async update_resource(bind_parameters: Dict) None[source]