original_docstring: Load a WSGI app from a PasteDeploy configuration.
  
      Use deploy.loadapp() to load the app from the PasteDeploy configuration,
      ensuring that the supplied ConfigOpts object is passed to the app and
      filter constructors.
  
      :param paste_config_file: a PasteDeploy config file
      :param app_name: the name of the app/pipeline to load from the file
      :param conf: a ConfigOpts object to supply to the app and its filters
      :returns: the WSGI app
      
docstring: Load a WSGI app from a PasteDeploy configuration.
  Use deploy.loadapp() to load the app from the PasteDeploy configuration,
  ensuring that the supplied ConfigOpts object is passed to the app and
  filter constructors.
docstring_tokens: Load a WSGI app from a PasteDeploy configuration . Use deploy . loadapp () to load the app from the PasteDeploy configuration ensuring that the supplied ConfigOpts object is passed to the app and filter constructors .
code: def paste_deploy_app(paste_config_file, app_name, conf):
      """Load a WSGI app from a PasteDeploy configuration.
  
      Use deploy.loadapp() to load the app from the PasteDeploy configuration,
      ensuring that the supplied ConfigOpts object is passed to the app and
      filter constructors.
  
      :param paste_config_file: a PasteDeploy config file
      :param app_name: the name of the app/pipeline to load from the file
      :param conf: a ConfigOpts object to supply to the app and its filters
      :returns: the WSGI app
      """
      setup_paste_factories(conf)
      try:
          return deploy.loadapp("config:%s" % paste_config_file, name=app_name)
      finally:
          teardown_paste_factories()
code_tokens: def paste_deploy_app ( paste_config_file , app_name , conf ) : setup_paste_factories ( conf ) try : return deploy . loadapp ( "config:%s" % paste_config_file , name = app_name ) finally : teardown_paste_factories ( )
short_docstring: Load a WSGI app from a PasteDeploy configuration.
short_docstring_tokens: Load a WSGI app from a PasteDeploy configuration .
comment: """Load a WSGI app from a PasteDeploy configuration.
  
      Use deploy.loadapp() to load the app from the PasteDeploy configuration,
      ensuring that the supplied ConfigOpts object is passed to the app and
      filter constructors.
  
      :param paste_config_file: a PasteDeploy config file
      :param app_name: the name of the app/pipeline to load from the file
      :param conf: a ConfigOpts object to supply to the app and its filters
      :returns: the WSGI app
      """