![]() |
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 | handle_discovery_request |
Static Public Attributes | |
dictionary | API_CONFIG |
Implements the local devserver discovery service. This has a static minimal version of the discoverable part of the discovery .api file. It only handles returning the discovery doc and directory, and ignores directory parameters to filter the results. The discovery docs/directory are created by calling a cloud endpoint discovery service to generate the discovery docs/directory from an .api file/set of .api files.
def google.appengine.tools.devappserver2.endpoints.discovery_service.DiscoveryService.__init__ | ( | self, | |
config_manager | |||
) |
Initializes an instance of the DiscoveryService. Args: config_manager: An instance of ApiConfigManager.
def google.appengine.tools.devappserver2.endpoints.discovery_service.DiscoveryService.handle_discovery_request | ( | self, | |
path, | |||
request, | |||
start_response | |||
) |
Returns the result of a discovery service request. This calls start_response and returns the response body. Args: path: A string containing the SPI API path (the portion of the path after /_ah/spi/). request: An ApiRequest, the transformed request sent to the Discovery SPI. start_response: A function with semantics defined in PEP-333. Returns: The response body. Or returns False if the request wasn't handled by DiscoveryService.
|
static |