mirror of
https://github.com/github/codeql.git
synced 2026-06-26 23:27:06 +02:00
Python: fix sub class test
This commit is contained in:
@@ -6,9 +6,9 @@ class Sub(Flask):
|
||||
Flask.__init__(self, *args, **kwargs)
|
||||
|
||||
|
||||
app = Sub(__name__) # $ MISSING: instance
|
||||
app = Sub(__name__) # $ instance
|
||||
|
||||
|
||||
@app.route("/")
|
||||
def hello():
|
||||
return "world"
|
||||
@app.route("/") # $ routeSetup="/"
|
||||
def hello(): # $ requestHandler
|
||||
return "world" # $ HttpResponse
|
||||
Reference in New Issue
Block a user