#NEWLINE# def register_path_variables( self , model , func ) : #NEWLINE# #INDENT# 'Register variables function for a model class.\n\n        :param model: model class\n        :param func: function that gets a model instance argument and\n          returns a variables dict.\n        ' #NEWLINE# self . reg_registry . register_function ( generic . path_variables , model , obj = model )