🐛 Make apps "just work" out-of-the-box
This commit is contained in:
parent
905ce66b1a
commit
3e682bbc89
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
from ohmyapi.router import APIRouter
|
from ohmyapi.router import APIRouter
|
||||||
|
|
||||||
from .models import ...
|
from . import models
|
||||||
|
|
||||||
# Expose your app's routes via `router = fastapi.APIRouter`.
|
# Expose your app's routes via `router = fastapi.APIRouter`.
|
||||||
# Use prefixes wisely to avoid cross-app namespace-collisions.
|
# Use prefixes wisely to avoid cross-app namespace-collisions.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue