import fastapi
import uvicorn

app = fastapi.FastAPI()


@app.get('/')
def index():
    return {'message': 'Hello world'}


if __name__ == '__main__':
    # noinspection PyTypeChecker
    uvicorn.run(app)
