Classes | |
class | connection |
class | factory |
Functions | |
def | _get_netrc_data (netrc_file, key) |
def | connect (connection_data, mode="r", map_blobs=False, secrets=None, pooling=True) |
def | engine_from_dictionary (dictionary, pooling=True) |
def | new_connection_dictionary (connection_data, secrets=None, mode="r") |
connection class translates either a connection string for sqlite, oracle of frontier into a connection object. Also sets up ORM with SQLAlchemy. connection class can also take a pre-constructed engine - useful for web services.
|
private |
Returns a dictionary {login : ..., account : ..., password : ...}
Definition at line 336 of file querying.py.
References cmsPerfStripChart.dict, and ComparisonHelper.zip().
Referenced by new_connection_dictionary().
def querying.connect | ( | connection_data, | |
mode = "r" , |
|||
map_blobs = False , |
|||
secrets = None , |
|||
pooling = True |
|||
) |
Utility method for user - set up a connection object.
Definition at line 452 of file querying.py.
Referenced by shell.connect(), command_line.copy_global_tag(), command_line.copy_tag(), command_line.diff_of_gts(), command_line.diff_of_tags(), command_line.list_object(), command_line.search(), uploads.uploader.send_payloads(), and payload_tests.payload_tests.test_write_blob_to_sqlite().
Definition at line 428 of file querying.py.
Function used to construct connection data dictionaries - internal to framework.
Definition at line 349 of file querying.py.
References _get_netrc_data(), split, and str.