#NEWLINE# def new( self , uid , client_id , ip , scopes ) : #NEWLINE# #INDENT# id = self . generate ( ) #NEWLINE# self . conn . execute ( 'insert into refreshments values (?, ?, ?, ?, ?, ?, ?, ?)' , ( id , uid , datetime . datetime . now ( ) , client_id , ip , datetime . datetime . now ( ) , ip , scopes ) ) #NEWLINE# self . conn . commit ( ) #NEWLINE# return id