It's the gluon.storage.Storage class -- explained here: 
http://web2py.com/book/default/chapter/04#request. You can probably use it 
in a module by importing it.

On Sunday, June 12, 2011 2:41:44 AM UTC-4, pbreit wrote:

> I am newish to Python and I think spoiled by Web2py. Is it correct that 
> Web2py's dictionaries are enhanced to support "dot notation"? And the dot 
> notation has the additional benefit of not erroring if it's referencing a 
> non-existing key? 
>
> I'm passing a dictionary to a module and am wondering how to handle it 
> better. Do I need to check each key with has_key or "in" before attempting 
> to reference it? Or can I use Web2py dictionaries in modules?
>

Reply via email to