def generatecode self self request filters id int self request GET get

1
2
3
4
def generatecode(self):
self.request.filters = {'id': int(self.request.GET.get('id'))}
self.request.terms = {}
rec = self.collection_get()