[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-web-sig
Subject:    [Web-SIG] why function throws an error?
From:       נתי שטרן <nsh531 () gmail ! com>
Date:       2022-06-28 7:57:59
Message-ID: CAC8x_z3TPSG-oGuvp7fc3cCQ3Ng1Pcqg=JP5GBmhH65APg9-Ow () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


        def add_route(self, route):
        #    """ Add a route object, but do not change the :data:`Route.app`
        #        attribute."""
            self.routes.append(route)
            self.router.add(route.rule, route.method, route, name=route.name
)
        #    if DEBUG: route.prepare()
--
<https://netanel.ml>

[Attachment #5 (text/html)]

<div dir="rtl"><div style="direction:ltr"><br></div><div><div \
style="direction:ltr"><br></div><div style="direction:ltr">            def \
add_route(self, route):</div><div style="direction:ltr">            #      \
&quot;&quot;&quot; Add a route object, but do not change the \
:data:`Route.app`</div><div style="direction:ltr">            #            \
attribute.&quot;&quot;&quot;</div><div style="direction:ltr">                  \
self.routes.append(route)</div><div style="direction:ltr">                  \
self.router.add(route.rule, route.method, route, name=<a \
href="http://route.name">route.name</a>)</div><div style="direction:ltr">            \
#      if DEBUG: route.prepare()</div></div><div style="direction:ltr">--</div><div \
dir="rtl" class="gmail_signature" data-smartmail="gmail_signature"><div dir="rtl" \
style="direction:ltr"><a href="https://netanel.ml" target="_blank"><img width="200" \
height="51" src="https://ci3.googleusercontent.com/mail-sig/AIorK4ykFjL1iagUdlm0jcadJlaq1KyDf5c3YeE3nLFugFyn69aRMAcHd2OKO51XtKIvhzIdbuX81XE"></a></div></div></div>




_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: https://mail.python.org/mailman/options/web-sig/python-web-sig%40marc.info


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic