- Sort Score
- Num 10 results
- Language All
Results 581 - 590 of 1,355 for clinit (0.06 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/RequestTrace.java
* <li>Carries contextual data describing the current request or operation</li> * <li>Supports both internal session operations and client-provided trace information</li> * </ul> * * <p>For internal session operations, the trace typically contains {@code *Request} objects * that represent the current processing state. Client code can also create traces with * application-specific data to provide context when invoking session methods.</p> *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 2.9K bytes - Click Count (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py
from fastapi.testclient import TestClient from docs_src.behind_a_proxy.tutorial002_py39 import app client = TestClient(app) def test_main(): response = client.get("/app") assert response.status_code == 200 assert response.json() == {"message": "Hello World", "root_path": "/api/v1"} def test_openapi(): response = client.get("/openapi.json") assert response.status_code == 200 assert response.json() == {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1K bytes - Click Count (0) -
tests/test_response_code_no_body.py
async def b(): pass # pragma: no cover client = TestClient(app) def test_get_response(): response = client.get("/a") assert response.status_code == 204, response.text assert "content-length" not in response.headers assert response.content == b"" def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.textCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 3.2K bytes - Click Count (0) -
docs/ru/docs/advanced/generate-clients.md
```sh npx @hey-api/openapi-ts -i http://localhost:8000/openapi.json -o src/client ``` Это сгенерирует TypeScript SDK в `./src/client`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 15.9K bytes - Click Count (0) -
tests/test_generate_unique_id_function.py
) def post_router(item1: Item, item2: Item): return item1, item2 # pragma: nocover app.include_router(router) client = TestClient(app) response = client.get("/openapi.json") data = response.json() assert data == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/": {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 66.7K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
```mermaid sequenceDiagram participant client as Cliente participant handler as Manipulador de exceções participant dep as Dep com yield participant operation as Operação de Rota participant tasks as Tarefas de Background Note over client,operation: pode lançar exceções, incluindo HTTPException client ->> dep: Iniciar requisição Note over dep: Executar código até o yieldCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.2K bytes - Click Count (0) -
tests/test_form_default.py
): return {"file": file, "age": age} client = TestClient(app) def test_form_default_url_encoded(): response = client.post("/urlencoded", data={"age": ""}) assert response.status_code == 200 assert response.text == "null" def test_form_default_multi_part(): response = client.post("/multipart", data={"age": ""}) assert response.status_code == 200Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 848 bytes - Click Count (0) -
tests/test_file_and_form_order_issue_9116.py
@app.post("/file_list_after_form") def file_list_after_form( city: Annotated[str, Form()], files: Annotated[list[bytes], File()], ): return {"file_contents": files, "city": city} client = TestClient(app) @pytest.fixture def tmp_file_1(tmp_path: Path) -> Path: f = tmp_path / "example1.txt" f.write_text("foo") return f @pytest.fixture
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2.3K bytes - Click Count (0) -
fastapi/security/http.py
The HTTP authorization header value is split by the first space. The first part is the `scheme`, the second part is the `credentials`. For example, in an HTTP Bearer token scheme, the client will send a header like: ``` Authorization: Bearer deadbeef12346 ``` In this case: * `scheme` will have the value `"Bearer"`Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 13.2K bytes - Click Count (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py
from inline_snapshot import snapshot from docs_src.behind_a_proxy.tutorial003_py39 import app client = TestClient(app) def test_main(): response = client.get("/app") assert response.status_code == 200 assert response.json() == {"message": "Hello World", "root_path": "/api/v1"} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 1.5K bytes - Click Count (0)