- Sort Score
- Result 10 results
- Languages All
Results 951 - 960 of 2,000 for Fastapi (0.06 sec)
-
docs/en/docs/tutorial/response-status-code.md
/// note | "Technical Details" You could also use `from starlette import status`. **FastAPI** provides the same `starlette.status` as `fastapi.status` just as a convenience for you, the developer. But it comes directly from Starlette. /// ## Changing the default
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 11:13:18 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/em/docs/tutorial/cors.md
โ๏ธ ๐ ๐ ๐ด โ ๐ฏ ๐ ๐ป, ๐ซ ๐ ๐ ๐ ๐: ๐ช, โ ๐ ๐ ๐ โ๏ธ โฎ๏ธ ๐จ ๐ค, โ๏ธ. , ๐ ๐ท โ, โซ๏ธ ๐ป โ ๐ฏ โ ๐จ๐ณ. ## โ๏ธ `CORSMiddleware` ๐ ๐ช ๐ โซ๏ธ ๐ **FastAPI** ๐ธ โ๏ธ `CORSMiddleware`. * ๐ `CORSMiddleware`. * โ ๐ โ ๐จ๐ณ (๐ป). * ๐ฎ โซ๏ธ "๐ ๏ธ" ๐ **FastAPI** ๐ธ. ๐ ๐ช โ ๐ฅ ๐ ๐ฉโ๐ป โ: * ๐ (โ ๐, ๐ช, โ๏ธ). * ๐ฏ ๐บ๐ธ๐ ๐ฉโ๐ฌ (`POST`, `PUT`) โ๏ธ ๐ ๐ซ โฎ๏ธ ๐ `"*"`. * ๐ฏ ๐บ๐ธ๐ ๐ โ๏ธ ๐ ๐ซ โฎ๏ธ ๐ `"*"`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md
```Python ... = Depends(CommonQueryParams) ``` ... **FastAPI**๊ฐ ์ค์ ๋ก ์ด๋ค ๊ฒ์ด ์์กด์ฑ์ธ์ง ์๊ธฐ ์ํด์ ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ์ ๋๋ค. FastAPI๋ ์ ์ธ๋ ๋งค๊ฐ๋ณ์๋ค์ ์ถ์ถํ ๊ฒ์ด๊ณ ์ค์ ๋ก ์ด ๋ณ์๋ค์ ํธ์ถํ ๊ฒ์ ๋๋ค. --- ์ด ๊ฒฝ์ฐ์, ์ฒซ๋ฒ์งธ `CommonQueryParams` ๋ณ์๋ฅผ ๋ณด๋ฉด: ```Python commons: CommonQueryParams ... ``` ... **FastAPI**๋ `CommonQueryParams` ๋ณ์์ ์ด๋ ํ ํน๋ณํ ์๋ฏธ๋ ๋ถ์ฌํ์ง ์์ต๋๋ค. FastAPI๋ ์ด ๋ณ์๋ฅผ ๋ฐ์ดํฐ ๋ณํ, ๊ฒ์ฆ ๋ฑ์ ํ์ฉํ์ง ์์ต๋๋ค. (ํ์ฉํ๋ ค๋ฉด `= Depends(CommonQueryParams)`๋ฅผ ์ฌ์ฉํด์ผ ํฉ๋๋ค.)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.9K bytes - Viewed (0) -
docs/de/docs/how-to/configure-swagger-ui.md
Um diese zu konfigurieren, รผbergeben Sie das Argument `swagger_ui_parameters` beim Erstellen des `FastAPI()`-App-Objekts oder an die Funktion `get_swagger_ui_html()`. `swagger_ui_parameters` empfรคngt ein Dict mit den Konfigurationen, die direkt an die Swagger-Oberflรคche รผbergeben werden. FastAPI konvertiert die Konfigurationen nach **JSON**, um diese mit JavaScript kompatibel zu machen, da die Swagger-Oberflรคche das benรถtigt.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/em/docs/how-to/extending-openapi.md
๐ ๐ ๐ ๐ ๐ โ. ## ๐ ๐ ๏ธ ๐ (๐ข) ๐ ๏ธ, โฉ. `FastAPI` ๐ธ (๐) โ๏ธ `.openapi()` ๐ฉโ๐ฌ ๐ ๐ ๐จ ๐ ๐. ๐ ๐ธ ๐ ๐, *โก ๐ ๏ธ* `/openapi.json` (โ๏ธ โซ๏ธโ ๐ โ ๐ `openapi_url`) ยฎ. โซ๏ธ ๐จ ๐ป ๐จ โฎ๏ธ ๐ ๐ธ `.openapi()` ๐ฉโ๐ฌ. ๐ข, โซ๏ธโ ๐ฉโ๐ฌ `.openapi()` ๐จ โ ๐ `.openapi_schema` ๐ ๐ฅ โซ๏ธ โ๏ธ ๐ & ๐จ ๐ซ. ๐ฅ โซ๏ธ ๐ซ, โซ๏ธ ๐ ๐ซ โ๏ธ ๐ ๐ข `fastapi.openapi.utils.get_openapi`. & ๐ ๐ข `get_openapi()` ๐จ ๐ข:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.7K bytes - Viewed (0) -
docs/de/docs/advanced/openapi-webhooks.md
## Webhooks mit **FastAPI** und OpenAPI dokumentieren
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial003_an_py39.py
from typing import Annotated, Union from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None class User(BaseModel): username: str full_name: Union[str, None] = None @app.put("/items/{item_id}") async def update_item(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 575 bytes - Viewed (0) -
docs_src/extra_data_types/tutorial001_an_py39.py
from datetime import datetime, time, timedelta from typing import Annotated, Union from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: Annotated[datetime, Body()], end_datetime: Annotated[datetime, Body()], process_after: Annotated[timedelta, Body()], repeat_at: Annotated[Union[time, None], Body()] = None, ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 801 bytes - Viewed (0) -
docs_src/openapi_webhooks/tutorial001.py
from datetime import datetime from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Subscription(BaseModel): username: str monthly_fee: float start_date: datetime @app.webhooks.post("new-subscription") def new_subscription(body: Subscription): """ When a new user subscribes to your service we'll send you a POST request with this
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Oct 20 09:00:44 UTC 2023 - 550 bytes - Viewed (0) -
docs/de/docs/tutorial/request-files.md
Wenn Sie die `async`-Methoden verwenden, fรผhrt **FastAPI** die Datei-Methoden in einem <abbr title="Mehrere unabhรคngige Kindprozesse">Threadpool</abbr> aus und erwartet sie. /// /// note | "Technische Details zu Starlette" **FastAPI**s `UploadFile` erbt direkt von **Starlette**s `UploadFile`, fรผgt aber ein paar notwendige Teile hinzu, um es kompatibel mit **Pydantic** und anderen Teilen von FastAPI zu machen. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.3K bytes - Viewed (0)