def model_cr_context(method):
 method._api = 'model_cr_context'
 return method

def model_cr_context ( method ) : method . _api = 'model_cr_context' return method
decorate a record-style method where self is a recordset .