#NEWLINE# def add_task( client , description ) : #NEWLINE# #INDENT# key = client . key ( 'Task' ) #NEWLINE# task = datastore . Entity ( key , exclude_from_indexes = [ 'description' ] ) #NEWLINE# task . update ( { #NEWLINE# #INDENT# 'created' : datetime . datetime . utcnow ( ) , #NEWLINE# 'description' : description , #NEWLINE# 'done' : False , #NEWLINE# #UNINDENT# } ) #NEWLINE# client . put ( task ) #NEWLINE# return task . key