#NEWLINE# def delete( self , id ) : #NEWLINE# #INDENT# 'Delete a resource.' #NEWLINE# db_obj = objects . registry . Service . get_by_uuid ( self . context , id ) #NEWLINE# db_obj . destroy ( self . context )