def build_shed_app(simple_kwargs):
 log.info('Tool shed database connection: %s', simple_kwargs['database_connection'])
 simple_kwargs['__file__'] = 'tool_shed_wsgi.ini.sample'
 simple_kwargs['global_conf'] = get_webapp_global_conf()
 app = ToolshedUniverseApplication(**simple_kwargs)
 database_contexts.tool_shed_context = app.model.context
 log.info('Embedded Toolshed application started')
 return app

def build_shed_app ( simple_kwargs ) : log . info ( 'Tool shed database connection: %s' , simple_kwargs [ 'database_connection' ] ) simple_kwargs [ '__file__' ] = 'tool_shed_wsgi.ini.sample' simple_kwargs [ 'global_conf' ] = get_webapp_global_conf ( ) app = ToolshedUniverseApplication ( ** simple_kwargs ) database_contexts . tool_shed_context = app . model . context log . info ( 'Embedded Toolshed application started' ) return app
build a galaxy app object from a simple keyword arguments .