![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | Dispatch |
def | __str__ |
![]() | |
def | __init__ |
def | Dispatch |
def | __str__ |
![]() | |
def | Dispatch |
def | EndRedirect |
Dispatcher that executes local functions like they're CGIs. The contents of sys.modules will be preserved for local CGIs running this dispatcher, but module hardening will still occur for any new imports. Thus, be sure that any local CGIs have loaded all of their dependent modules _before_ they are executed.
def google.appengine.tools.old_dev_appserver.LocalCGIDispatcher.__init__ | ( | self, | |
config, | |||
module_dict, | |||
path_adjuster, | |||
cgi_func | |||
) |
Initializer. Args: config: AppInfoExternal instance representing the parsed app.yaml file. module_dict: Passed to CGIDispatcher. path_adjuster: Passed to CGIDispatcher. cgi_func: Callable function taking no parameters that should be executed in a CGI environment in the current process.
def google.appengine.tools.old_dev_appserver.LocalCGIDispatcher.__str__ | ( | self | ) |
Returns a string representation of this dispatcher.
def google.appengine.tools.old_dev_appserver.LocalCGIDispatcher.Dispatch | ( | self, | |
args, | |||
kwargs | |||
) |
Preserves sys.modules for CGIDispatcher.Dispatch.