![]() |
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 | __getattr__ |
A set of configuration for a single library module or package. Public attributes of instances of this class are configuration values. Attributes are dynamically computed (in __getattr__()) and cached as regular instance attributes.
def google.appengine.api.lib_config.ConfigHandle.__init__ | ( | self, | |
prefix, | |||
registry | |||
) |
Constructor. Args: prefix: A shared prefix for the configuration names being registered. It *must* end in '_'. (This is enforced by LibConfigRegistry.) registry: A LibConfigRegistry instance.
def google.appengine.api.lib_config.ConfigHandle.__getattr__ | ( | self, | |
suffix | |||
) |
Dynamic attribute access. Args: suffix: The attribute name. Returns: A configuration values. Raises: AttributeError if the suffix is not a registered suffix. The first time an attribute is referenced, this method is invoked. The value returned taken either from the config module or from the registered default.