code: def _mount_resources(self):
          '''Mount all registered resources onto the application.'''
          rules = []
          self.callback_map = {}
          for ep in Resource:
              for rule, callback in ep.get_routing_tuples():
                  log.debug('Path "{}" mapped to "{}"'.format(
                      rule.rule, rule.endpoint))
                  rules.append(rule)
                  self.callback_map[rule.endpoint] = callback
          self.url_map = Map(rulesf _mount_resources(self):
          '''Mount all registered resources onto the application.'''
          rules = []
          self.callback_map = {}
          for ep in Resource:
              for rule, callback in ep.get_routing_tuples():
                  log.debug('Path "{}" mapped to "{}"'.format(
                      rule.rule, rule.endpoint))
                  rules.append(rule)
                  self.callback_map[rule.endpoint] = callback
          self.url_map = Map(rules)
docs: Mount all registered resources onto the application.