- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 429 for convey (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_tutorial/test_background_tasks/test_tutorial001.py
from tests.utils import workdir_lock client = TestClient(app) @workdir_lock def test(): log = Path("log.txt") if log.is_file(): os.remove(log) # pragma: no cover response = client.post("/send-notification/******@****.***") assert response.status_code == 200, response.text assert response.json() == {"message": "Notification sent in the background"}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 10:53:47 GMT 2026 - 635 bytes - Click Count (0) -
tests/test_route_scope.py
def test_websocket_invalid_path_doesnt_match(): with pytest.raises(WebSocketDisconnect): with client.websocket_connect("/itemsx/portal-gun"):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Sep 29 03:29:38 GMT 2025 - 1.5K bytes - Click Count (0) -
tests/test_stringified_annotation_dependency.py
from typing import TYPE_CHECKING, Annotated import pytest from fastapi import Depends, FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot if TYPE_CHECKING: # pragma: no cover from collections.abc import AsyncGenerator class DummyClient: async def get_people(self) -> list: return ["John Doe", "Jane Doe"] async def close(self) -> None: passCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.2K bytes - Click Count (0) -
fastapi/cli.py
try: from fastapi_cli.cli import main as cli_main except ImportError: # pragma: no cover cli_main = None # type: ignore def main() -> None: if not cli_main: # type: ignore[truthy-function] # ty: ignore[unused-ignore-comment] message = 'To use the fastapi command, please install "fastapi[standard]":\n\n\tpip install "fastapi[standard]"\n' print(message) raise RuntimeError(message) # noqa: B904Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 455 bytes - Click Count (0) -
tests/test_additional_responses_custom_validationerror.py
errors: list[Error] @app.get( "/a/{id}", response_class=JsonApiResponse, responses={422: {"description": "Error", "model": JsonApiError}}, ) async def a(id): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == snapshot( {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.2K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Sep 10 06:04:09 GMT 2025 - 3.3K bytes - Click Count (0) -
docs/pt/docs/advanced/response-cookies.md
**FastAPI** usará essa resposta *temporária* para extrair os cookies (também os cabeçalhos e código de status) e os colocará na resposta final que contém o valor que você retornou, filtrado por qualquer `response_model`. Você também pode declarar o parâmetro `Response` em dependências e definir cookies (e cabeçalhos) nelas.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 2.4K bytes - Click Count (0) -
docs/pt/docs/advanced/response-headers.md
**FastAPI** usará essa resposta *temporária* para extrair os cabeçalhos (cookies e código de status também) e os colocará na resposta final que contém o valor que você retornou, filtrado por qualquer `response_model`. Você também pode declarar o parâmetro `Response` em dependências e definir cabeçalhos (e cookies) nelas.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 2.4K bytes - Click Count (0) -
docs/uk/docs/tutorial/header-param-models.md
"loc": ["header", "tool"], "msg": "Extra inputs are not permitted", "input": "plumbus", } ] } ``` ## Вимкнути перетворення підкреслень { #disable-convert-underscores } Так само, як і зі звичайними параметрами заголовків, коли у назвах параметрів є символи підкреслення, вони **автоматично перетворюються на дефіси**.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 12:42:01 GMT 2026 - 4.3K bytes - Click Count (0) -
internal/s3select/csv/recordtransform.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package csv import ( "bytes" "io" ) // recordTransform will convert records to always have newline records. type recordTransform struct { reader io.Reader // recordDelimiter can be up to 2 characters. recordDelimiter []byte oneByte []byte useOneByte bool }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.1K bytes - Click Count (0)