![]() |
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 | new_instance |
![]() | |
def | __init__ |
def | get_restart_directories |
def | files_changed |
def | configuration_changed |
def | new_instance |
Static Public Attributes | |
SUPPORTS_INTERACTIVE_REQUESTS = True | |
FILE_CHANGE_INSTANCE_RESTART_POLICY = instance.ALWAYS | |
int | DOCKER_D_REQUEST_TIMEOUT = 60 |
![]() | |
START_URL_MAP = None | |
WARMUP_URL_MAP = None | |
SUPPORTS_INTERACTIVE_REQUESTS = False | |
FILE_CHANGE_INSTANCE_RESTART_POLICY = None | |
Additional Inherited Members | |
![]() | |
request_data | |
max_concurrent_requests | |
max_background_threads | |
A factory that creates new VM runtime Instances.
def google.appengine.tools.devappserver2.vm_runtime_proxy.VMRuntimeInstanceFactory.__init__ | ( | self, | |
request_data, | |||
runtime_config_getter, | |||
module_configuration | |||
) |
Initializer for VMRuntimeInstanceFactory. Args: request_data: A wsgi_request_info.WSGIRequestInfo that will be provided with request information for use by API stubs. runtime_config_getter: A function that can be called without arguments and returns the runtime_config_pb2.Config containing the configuration for the runtime. module_configuration: An application_configuration.ModuleConfiguration instance representing the configuration of the module that owns the runtime.
def google.appengine.tools.devappserver2.vm_runtime_proxy.VMRuntimeInstanceFactory.new_instance | ( | self, | |
instance_id, | |||
expect_ready_request = False |
|||
) |
Create and return a new Instance. Args: instance_id: A string or integer representing the unique (per module) id of the instance. expect_ready_request: If True then the instance will be sent a special request (i.e. /_ah/warmup or /_ah/start) before it can handle external requests. Returns: The newly created instance.Instance.