Package wtf :: Package app :: Module cookie :: Class CookieCodecFactoryInterface
[hide private]
[frames] | no frames]

Class CookieCodecFactoryInterface

source code

object --+
         |
        CookieCodecFactoryInterface

Interface for cookie codec factories
Instance Methods [hide private]
 
__init__(self, config, opts, args)
Initialization
source code
CookieCodecInterface
__call__(self)
Create the codec instance (doesn't have to be a new one)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, config, opts, args)
(Constructor)

source code 
Initialization
Parameters:
  • config (wtf.config.Config) - Configuration
  • opts (optparse.OptionContainer) - Command line options
  • args (list) - Positional command line arguments
Overrides: object.__init__

__call__(self)
(Call operator)

source code 
Create the codec instance (doesn't have to be a new one)
Returns: CookieCodecInterface
The codec instance