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