'Used for paste app factories in paste.deploy config files.
Any local configuration (that is, values under the [app:APPNAME]
section of the paste config) will be passed into the `__init__` method
as kwargs.
A hypothetical configuration would look like:
[app:wadl]
latest_version = 1.3
paste.app_factory = keystone.fancy_api:Wadl.factory
which would result in a call to the `Wadl` class as
import keystone.fancy_api
keystone.fancy_api.Wadl(latest_version=\'1.3\')
You could of course re-implement the `factory` method in subclasses,
but using the kwarg passing it shouldn\'t be necessary.'

@classmethod
def factory(cls, global_config, **local_config):

    return cls(**local_config)
