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 337 of file querying.py.
References 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 453 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().
def querying.engine_from_dictionary | ( | dictionary, | |
pooling = True |
|||
) |
Definition at line 429 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 350 of file querying.py.
References _get_netrc_data(), input, submitPVValidationJobs.split(), and str.