def __init__(self, resources):
        resources = self._get_sorted(resources)
        self._routes = self._compile(resources)
Constructor. Extracts all the paths from the given resources.
dataset/ETHPy150Open pneff/wsgiservice/wsgiservice/routing.py/Router.__init__