data_algebra/MySQL.py
def example_handle():
    """
    Return an example db handle for testing. Returns None if helper packages not present.

    """
    # TODO: parameterize this
    assert have_sqlalchemy
    db_handle = MySQLModel().db_handle(
        sqlalchemy.engine.create_engine("mysql+pymysql://jmount@localhost/jmount")
    )
    db_handle.db_model.prepare_connection(db_handle.conn)
    return db_handle

    Return an example db handle for testing. Returns None if helper packages not present.

    
Return an example db handle for testing. Returns None if helper packages not present.
Return an example db handle for testing . Returns None if helper packages not present .
def example_handle():
    assert have_sqlalchemy
    db_handle = MySQLModel().db_handle(
        sqlalchemy.engine.create_engine("mysql+pymysql://jmount@localhost/jmount")
    )
    db_handle.db_model.prepare_connection(db_handle.conn)
    return db_handle
def example_handle ( ) : assert have_sqlalchemy db_handle = MySQLModel ( ) . db_handle ( sqlalchemy . engine . create_engine ( "mysql+pymysql://jmount@localhost/jmount" ) ) db_handle . db_model . prepare_connection ( db_handle . conn ) return db_handle
Return an example db handle for testing.
Return an example db handle for testing .
"""
    Return an example db handle for testing. Returns None if helper packages not present.

    """ # TODO: parameterize this