Package wtf :: Package app :: Class Application
[hide private]
[frames] | no frames]

Class Application

source code

object --+
         |
        Application

Application wrapper
Instance Methods [hide private]
 
__init__(self, manager, app)
Initialization
source code
 
__del__(self)
Destruction
source code

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

Class Methods [hide private]
Application
factory(cls, config, opts, args)
Call the main application factory based on the configuration
source code
Instance Variables [hide private]
callable shutdown = None
Shutdown callable
callable call
Application callable
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

factory(cls, config, opts, args)
Class Method

source code 
Call the main application factory based on the configuration
Parameters:
  • config (wtf.config.Config) - Configuration
  • opts (optparse.OptionContainer) - Command line options
  • args (list) - Positioned command line arguments
Returns: Application
New Application instance

__init__(self, manager, app)
(Constructor)

source code 
Initialization
Parameters:
  • manager (ServiceManager) - Service manager
  • app (callable) - WSGI callable
Overrides: object.__init__