#NEWLINE# def get_object( self , event ) : #NEWLINE# #INDENT# spec = { #NEWLINE# #INDENT# 'name' : event [ 'name' ] , #NEWLINE# 'description' : event [ 'description' ] , #NEWLINE# 'start_time' : event [ 'start_time' ] , #NEWLINE# 'end_time' : event [ 'end_time' ] , #NEWLINE# 'timezone' : event [ 'timezone' ] , #NEWLINE# 'jurisdiction_id' : self . jurisdiction_id , #NEWLINE# #UNINDENT# } #NEWLINE# return self . model_class . objects . get ( ** event )