Did I find the right examples for you? yes no

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)
A Rule represents one URL pattern.  There are some options for `Rule`
that change the way it behaves and are passed to the `Rule` constructor.
Note that besides the rule-string and endpoint all arguments *must*
be keyword arguments in order to not break the application on Shake
upgrades.

string
:   Rule strings basically are just normal URL paths with placeholders in
    the format `<converter(arguments):name>` where the converter and the
    arguments are optional.  If no converter is defined the `default`(more...)

src/s/h/Shake-1.6.3/shake/app.py   Shake(Download)
from .helpers import local, to_unicode
from .render import Render, TEMPLATES_DIR
from .routes import Map, Rule
from .session import ItsdangerousSessionInterface
from .wrappers import Request, Response, make_response, BaseResponse
        def real_decorator(target):
            self.url_map.add(Rule(url, target, *args, **kwargs))
            return target
        return real_decorator
 
 
        """
        self.url_map.add(Rule(rule, *args, **kwargs))
 
    def add_urls(self, urls):

src/s/h/Shake-HEAD/shake/app.py   Shake(Download)
from .helpers import local, to_unicode
from .render import Render, TEMPLATES_DIR
from .routes import Map, Rule
from .session import ItsdangerousSessionInterface
from .wrappers import Request, Response, make_response
        def real_decorator(target):
            self.url_map.add(Rule(url, target, *args, **kwargs))
            return target
        return real_decorator
 
 
        """
        self.url_map.add(Rule(rule, *args, **kwargs))
 
    def add_urls(self, urls):