Update app.py
Browse files
app.py
CHANGED
|
@@ -1,12 +1,14 @@
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
from routes.hello import router as hello_router
|
| 3 |
from routes.subscription import router as subscription_router
|
|
|
|
| 4 |
|
| 5 |
app = FastAPI()
|
| 6 |
|
| 7 |
# Incluindo a rota separada
|
| 8 |
app.include_router(hello_router)
|
| 9 |
app.include_router(subscription_router)
|
|
|
|
| 10 |
|
| 11 |
@app.get("/")
|
| 12 |
def root():
|
|
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
from routes.hello import router as hello_router
|
| 3 |
from routes.subscription import router as subscription_router
|
| 4 |
+
from routes.stylist import router as stylist_router
|
| 5 |
|
| 6 |
app = FastAPI()
|
| 7 |
|
| 8 |
# Incluindo a rota separada
|
| 9 |
app.include_router(hello_router)
|
| 10 |
app.include_router(subscription_router)
|
| 11 |
+
app.include_router(stylist_router)
|
| 12 |
|
| 13 |
@app.get("/")
|
| 14 |
def root():
|