Created
March 31, 2019 00:34
-
-
Save Sytten/1595c0abae42804f34f23c82298becba to your computer and use it in GitHub Desktop.
Flask-Rebar-3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask_rebar import errors | |
from .app import registry | |
from .schemas import HealthSchema | |
@registry.handles(rule="/health", method="GET", marshal_schema=HealthSchema()) | |
def get_health(): | |
return {"status": "OK"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment