#NEWLINE# @ asyncio . coroutine #NEWLINE# def find_session( self , client_id ) : #NEWLINE# #INDENT# if self . cursor : #NEWLINE# #INDENT# row = self . cursor . execute ( 'SELECT data FROM session where client_id=?' , ( client_id , ) ) . fetchone ( ) #NEWLINE# if row : #NEWLINE# #INDENT# return pickle . loads ( row [ 0 ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return None