- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 2,000 for Fastapi (0.11 sec)
-
docs/de/docs/how-to/graphql.md
Hier sind einige der **GraphQL**-Bibliotheken, welche **ASGI** unterstรผtzen. Diese kรถnnten Sie mit **FastAPI** verwenden: * <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry</a> ๐ * Mit <a href="https://strawberry.rocks/docs/integrations/fastapi" class="external-link" target="_blank">Dokumentation fรผr FastAPI</a> * <a href="https://ariadnegraphql.org/" class="external-link" target="_blank">Ariadne</a>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
docs/ko/docs/advanced/response-cookies.md
`Response` ๋งค๊ฐ๋ณ์๋ฅผ ์ฌ์ฉํ์ง ์๊ณ ์๋ต์ ์ง์ ๋ฐํํ๋ ๊ฒฝ์ฐ, FastAPI๋ ์ด๋ฅผ ์ง์ ๋ฐํํ๋ค๋ ์ ์ ์ ์ํ์ธ์. ๋ฐ๋ผ์ ๋ฐ์ดํฐ๊ฐ ์ฌ๋ฐ๋ฅธ ์ ํ์ธ์ง ํ์ธํด์ผ ํฉ๋๋ค. ์: `JSONResponse`๋ฅผ ๋ฐํํ๋ ๊ฒฝ์ฐ, JSON๊ณผ ํธํ๋๋์ง ํ์ธํ์ธ์. ๋ํ `response_model`๋ก ๊ฑธ๋ฌ์ ธ์ผ ํ ๋ฐ์ดํฐ๊ฐ ์ ๋ฌ๋์ง ์๋๋ก ํ์ธํ์ธ์. /// ### ์ถ๊ฐ ์ ๋ณด /// note | "๊ธฐ์ ์ ์ธ๋ถ์ฌํญ" `from starlette.responses import Response` ๋๋ `from starlette.responses import JSONResponse`๋ฅผ ์ฌ์ฉํ ์๋ ์์ต๋๋ค.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 29 10:32:45 UTC 2024 - 2.4K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py
import pytest from fastapi import FastAPI from fastapi.testclient import TestClient from fastapi.websockets import WebSocketDisconnect from ...utils import needs_py310 @pytest.fixture(name="app") def get_app(): from docs_src.websockets.tutorial002_an_py310 import app return app @needs_py310 def test_main(app: FastAPI): client = TestClient(app) response = client.get("/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.9K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/index.md
/// info FastAPI unterstรผtzt (und empfiehlt die Verwendung von) `Annotated` seit Version 0.95.0. Wenn Sie eine รคltere Version haben, werden Sie Fehler angezeigt bekommen, wenn Sie versuchen, `Annotated` zu verwenden.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13K bytes - Viewed (0) -
docs/em/docs/tutorial/handling-errors.md
"size": "XL" } } ``` #### FastAPI `HTTPException` ๐ ๐ `HTTPException` **FastAPI** โ๏ธ ๐ฎ ๐ `HTTPException`. & **FastAPI**'โ `HTTPException` โ ๐ ๐ โช๏ธโก๏ธ ๐ `HTTPException` โ ๐. ๐ด ๐บ, ๐ **FastAPI**'โ `HTTPException` โ ๐ ๐ฎ ๐ ๐ ๐จ. ๐ ๐ช/โ๏ธ ๐ โณ 2๏ธโฃ.0๏ธโฃ & ๐โโ ๐. , ๐ ๐ช ๐ง ๐โโ **FastAPI**'โ `HTTPException` ๐ ๐ ๐.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/ja/docs/deployment/versions.md
**FastAPI** ใงใฏ้ๅธธใซ็ฐกๅใซๅฎ็พใงใใพใ (Starletteใฎใใใใง)ใใใญใฅใกใณใใ็ขบ่ชใใฆไธใใ: [ใในใ](../tutorial/testing.md){.internal-link target=_blank} ใในใใๅ ใใๅพใงใ**FastAPI** ใฎใใผใธใงใณใใใๆๆฐใฎใใฎใซใขใใใฐใฌใผใใใใในใใๅฎ่กใใใใจใงๅ จใฆใฎใณใผใใๆญฃๅธธใซๅไฝใใใ็ขบ่ชใงใใพใใ ๅ จใฆใๅไฝใใใใไฟฎๆญฃใ่กใฃใไธใงๅ จใฆใฎใในใใ้้ใใๅ ดๅใไฝฟ็จใใฆใใ`fastapi` ใฎใใผใธใงใณใใใๆๆฐใฎใใผใธใงใณใซๅบๅฎใงใใพใใ ## Starletteใซใคใใฆ `Starlette` ใฎใใผใธใงใณใฏๅบๅฎใในใใงใฏใใใพใใใ **FastAPI** ใฏใใใผใธใงใณๆฏใซStarletteใฎใใๆฐใใใใผใธใงใณใไฝฟ็จใใพใใ ใใฃใฆใๆ้ฉใชStarletteใฎใใผใธใงใณ้ธๆใ**FastAPI** ใซไปปใใใใจใใงใใพใใ
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 4.3K bytes - Viewed (0) -
tests/test_security_api_key_cookie.py
from fastapi import Depends, FastAPI, Security from fastapi.security import APIKeyCookie from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyCookie(name="key") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.9K bytes - Viewed (0) -
tests/test_security_api_key_cookie_description.py
from fastapi import Depends, FastAPI, Security from fastapi.security import APIKeyCookie from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyCookie(name="key", description="An API Cookie Key") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.1K bytes - Viewed (0) -
docs/en/docs/how-to/graphql.md
## GraphQL Libraries Here are some of the **GraphQL** libraries that have **ASGI** support. You could use them with **FastAPI**: * <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry</a> ๐ * With <a href="https://strawberry.rocks/docs/integrations/fastapi" class="external-link" target="_blank">docs for FastAPI</a> * <a href="https://ariadnegraphql.org/" class="external-link" target="_blank">Ariadne</a>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 22:39:38 UTC 2024 - 3.3K bytes - Viewed (0) -
docs_src/templates/tutorial001.py
from fastapi import FastAPI, Request from fastapi.responses import HTMLResponse from fastapi.staticfiles import StaticFiles from fastapi.templating import Jinja2Templates app = FastAPI() app.mount("/static", StaticFiles(directory="static"), name="static") templates = Jinja2Templates(directory="templates") @app.get("/items/{id}", response_class=HTMLResponse) async def read_item(request: Request, id: str):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Dec 26 20:12:34 UTC 2023 - 521 bytes - Viewed (0)