#NEWLINE# @ pecan . expose ( ) #NEWLINE# def _lookup( self , primary_key , * remainder ) : #NEWLINE# #INDENT# if ( remainder and ( not remainder [ ( - 1 ) ] ) ) : #NEWLINE# #INDENT# remainder = remainder [ : ( - 1 ) ] #NEWLINE# #UNINDENT# if ( primary_key == 'logs' ) : #NEWLINE# #INDENT# logs = userlog_controller . UserlogsController ( self . _id ) #NEWLINE# return ( logs , remainder )