Browse Source
Add FastAPI app initialization in tutorial001_an_py310.py
pull/15120/head
Shukurullo Mamadaliyev
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
docs_src/body_fields/tutorial001_an_py310.py
|
|
@ -3,6 +3,7 @@ from typing import Annotated |
|
|
from fastapi import Body, FastAPI |
|
|
from fastapi import Body, FastAPI |
|
|
from pydantic import BaseModel, Field |
|
|
from pydantic import BaseModel, Field |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app = FastAPI() |
|
|
app = FastAPI() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|