- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 345 for starlette (0.11 seconds)
-
docs_src/handling_errors/tutorial004_py39.py
from fastapi import FastAPI, HTTPException from fastapi.exceptions import RequestValidationError from fastapi.responses import PlainTextResponse from starlette.exceptions import HTTPException as StarletteHTTPException app = FastAPI() @app.exception_handler(StarletteHTTPException) async def http_exception_handler(request, exc): return PlainTextResponse(str(exc.detail), status_code=exc.status_code)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 920 bytes - Click Count (0) -
docs/tr/docs/history-design-future.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 4.7K bytes - Click Count (0) -
docs/ja/docs/index.md
**Typer**は FastAPI の弟分です。そして、**CLI 版 の FastAPI**を意味しています。 ## 必要条件 FastAPI は巨人の肩の上に立っています。 - Web の部分は<a href="https://www.starlette.dev/" class="external-link" target="_blank">Starlette</a> - データの部分は<a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> ## インストール <div class="termy"> ```console $ pip install fastapi
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 21.3K bytes - Click Count (0) -
docs/ru/docs/advanced/events.md
/// info | Информация Вы можете прочитать больше про обработчики `lifespan` в Starlette в <a href="https://www.starlette.dev/lifespan/" class="external-link" target="_blank">документации Starlette по Lifespan</a>. Включая то, как работать с состоянием lifespan, которое можно использовать в других частях вашего кода. ///
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.7K bytes - Click Count (0) -
docs/tr/docs/advanced/testing-websockets.md
Bu işlem için, `TestClient`'ı bir `with` ifadesinde kullanarak WebSocket'e bağlanabilirsiniz: {* ../../docs_src/app_testing/tutorial002.py hl[27:31] *} /// note | Not Daha fazla detay için Starlette'in <a href="https://www.starlette.dev/staticfiles/" class="external-link" target="_blank">Websockets'i Test Etmek</a> dokümantasyonunu inceleyin.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 452 bytes - Click Count (0) -
docs/es/docs/index.md
## Requisitos { #requirements } FastAPI se apoya en hombros de gigantes: * <a href="https://www.starlette.dev/" class="external-link" target="_blank">Starlette</a> para las partes web. * <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> para las partes de datos. ## Instalación { #installation }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 24.3K bytes - Click Count (0) -
docs/pt/docs/index.md
**Typer** é o irmão menor do FastAPI. E seu propósito é ser o **FastAPI das _CLIs_**. ⌨️ 🚀 ## Requisitos { #requirements } FastAPI está nos ombros de gigantes: * <a href="https://www.starlette.dev/" class="external-link" target="_blank">Starlette</a> para as partes web. * <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> para a parte de dados. ## Instalação { #installation }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 24.5K bytes - Click Count (0) -
docs/en/docs/advanced/testing-websockets.md
For this, you use the `TestClient` in a `with` statement, connecting to the WebSocket: {* ../../docs_src/app_testing/tutorial002_py39.py hl[27:31] *} /// note For more details, check Starlette's documentation for <a href="https://www.starlette.dev/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testing WebSockets</a>.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 459 bytes - Click Count (0) -
tests/test_http_connection_injection.py
from fastapi import Depends, FastAPI from fastapi.requests import HTTPConnection from fastapi.testclient import TestClient from starlette.websockets import WebSocket app = FastAPI() app.state.value = 42 async def extract_value_from_http_connection(conn: HTTPConnection): return conn.app.state.value @app.get("/http") async def get_value_by_http(value: int = Depends(extract_value_from_http_connection)): return value
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 09 13:56:41 GMT 2020 - 972 bytes - Click Count (0) -
docs/de/docs/history-design-future.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 4.9K bytes - Click Count (0)