Classes | |
class | connection |
class | factory |
Functions | |
def | _get_netrc_data |
def | connect |
def | engine_from_dictionary |
def | new_connection_dictionary |
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 334 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 450 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 426 of file querying.py.
Referenced by querying.connection.setup().
def querying.new_connection_dictionary | ( | connection_data, | |
secrets = None , |
|||
mode = "r" |
|||
) |
Function used to construct connection data dictionaries - internal to framework.
Definition at line 347 of file querying.py.
References _get_netrc_data(), and split.