mirror of
https://github.com/github/codeql.git
synced 2026-06-28 16:17:03 +02:00
14 lines
270 B
Python
14 lines
270 B
Python
from flask import Flask
|
|
|
|
|
|
class Sub(Flask):
|
|
def __init__(self, *args, **kwargs):
|
|
Flask.__init__(self, *args, **kwargs)
|
|
|
|
|
|
app = Sub(__name__) # $ instance
|
|
|
|
|
|
@app.route("/") # $ routeSetup="/"
|
|
def hello(): # $ requestHandler
|
|
return "world" # $ HttpResponse |