l.s.WebServiceApplication(ServiceRootResource) : class documentation

Part of lp.systemhomes View In Hierarchy

See IWebServiceApplication.

This implementation adds a 'cached_wadl' attribute, which starts out as an empty dict and is populated as needed.

Class Method cachedWADLPath Helper method to calculate the path to a cached WADL file.
Method toWADL See IWebServiceApplication.
@classmethod
def cachedWADLPath(cls, instance_name, version):
Helper method to calculate the path to a cached WADL file.
def toWADL(self):
See IWebServiceApplication.

Look for a cached WADL file for the request version at the location used by the script utilities/create-launchpad-wadl.py. If the file is present, load the file and cache its contents rather than generating new WADL. Otherwise, generate new WADL and cache it.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.