![]() |
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 | __init__ |
def | CreateRPC |
def | MakeSyncCall |
def | SetError |
Static Public Attributes | |
THREADSAFE = True | |
![]() | |
THREADSAFE = False | |
Additional Inherited Members | |
![]() | |
request_data | |
Stub version of the urlfetch API to be used with apiproxy_stub_map.
def google.appengine.api.urlfetch_stub.URLFetchServiceStub.__init__ | ( | self, | |
service_name = 'urlfetch' , |
|||
urlmatchers_to_fetch_functions = None |
|||
) |
Initializer. Args: service_name: Service name expected for all calls. urlmatchers_to_fetch_functions: A list of two-element tuples. The first element is a urlmatcher predicate function that takes a url and determines a match. The second is a function that can retrieve result for that url. If no match is found, a url is handled by the default _RetrieveURL function. When more than one match is possible, the first match is used.