#NEWLINE# def lookup_account_id_by_apikey( conn , apikey ) : #NEWLINE# #INDENT# query = sql . select ( [ schema . account . c . id ] , ( schema . account . c . apikey == apikey ) ) #NEWLINE# return conn . execute ( query ) . scalar ( )