MCPcopy Create free account
hub / github.com/sqlmapproject/sqlmap / merge

Method merge

thirdparty/bottle/bottle.py:792–800  ·  view source on GitHub ↗

Merge the routes of another :class:`Bottle` application or a list of :class:`Route` objects into this application. The routes keep their 'owner', meaning that the :data:`Route.app` attribute is not changed.

(self, routes)

Source from the content-addressed store, hash-verified

790 return self._mount_wsgi(prefix, app, **options)
791
792 def merge(self, routes):
793 """ Merge the routes of another :class:`Bottle` application or a list of
794 :class:`Route` objects into this application. The routes keep their
795 'owner', meaning that the :data:`Route.app` attribute is not
796 changed. """
797 if isinstance(routes, Bottle):
798 routes = routes.routes
799 for route in routes:
800 self.add_route(route)
801
802 def install(self, plugin):
803 """ Add a plugin to the list of plugins and prepare it for being

Callers

nothing calls this directly

Calls 1

add_routeMethod · 0.95

Tested by

no test coverage detected