from gluon import *

This should give you the "current" object which has these:

current.request
current.response
current.cache

You must initialize your modules with a db instance though. So I usually do 
this:

class MyModule(object):
    def __init__(self, db, ...)

Reply via email to