11
12
13
14@app.route('/set/<pin:int>/<state:int>')15def set(pin, state):
16 if pin not in pins:
17 abort(code=404, text="pin useless")
Two blank lines are expected between functions and classes and one blank line is expected between methods of a class.