Hello :)
I'd like to do something like this:
def load_chapter(book, chapter):
....
args = ('Alice', 3)
a = cache.ram('%s_%s' % args, load_chapter, arguments=args,
time_expire=50)
where the cache would execute load_chapter('Alice', 3) if necessary.
Any advices, please?
Regards,
David
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.