Created
February 10, 2021 19:21
-
-
Save MwinyiMoha/fe9bb6a3f6fd5336962558fe6d0c787e to your computer and use it in GitHub Desktop.
This file contains 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 fastapi import FastAPI | |
app = FastAPI(title='Hello') | |
@app.get('/') | |
def root(): | |
return {'service': 'Hello World', 'docs_url': '/docs'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment