def get_file_ids(object):
    """Get the exposure for a particular line in the meausre table"""
    import MOPdbaccess
    mysql = MOPdbaccess.connect('cfeps','cfhls',dbSystem='MYSQL')
    cfeps=mysql.cursor()
    sql="SELECT file_id FROM measure WHERE provisional LIKE %s"
    cfeps.execute(sql,(object, ))
    file_ids=cfeps.fetchall()

    return (file_ids)
def get_file_ids ( object ) : import MOPdbaccess mysql = MOPdbaccess . connect ( 'cfeps' , 'cfhls' , dbSystem = 'MYSQL' ) cfeps = mysql . cursor ( ) sql = "SELECT file_id FROM measure WHERE provisional LIKE %s" cfeps . execute ( sql , ( object , ) ) file_ids = cfeps . fetchall ( ) return ( file_ids )
Get the exposure for a particular line in the meausre table