- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for Gender (0.04 sec)
-
docs/en/docs/release-notes.md
``` Read the new docs: [Query Parameter Models](https://fastapi.tiangolo.com/tutorial/query-param-models/). #### `Header` Parameter Models Use Pydantic models for `Header` parameters: ```python from typing import Annotated from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): host: str
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 19:06:15 UTC 2025 - 586.7K bytes - Viewed (0) -
docs/de/docs/tutorial/response-model.md
Sehen wir uns zunächst an, wie Editor, mypy und andere Tools dies sehen würden. `BaseUser` verfügt über die Basis-Felder. Dann erbt `UserIn` von `BaseUser` und fügt das Feld `password` hinzu, sodass es nun alle Felder beider Modelle hat. Wir annotieren den Funktionsrückgabetyp als `BaseUser`, geben aber tatsächlich eine `UserIn`-Instanz zurück.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 24 10:28:19 UTC 2025 - 17.5K bytes - Viewed (0) -
README.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Dec 25 11:01:37 UTC 2025 - 26.4K bytes - Viewed (0) -
docs/de/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
/// ### Pydantic v1 und v2 in derselben App { #pydantic-v1-and-v2-on-the-same-app } Es wird von Pydantic **nicht unterstützt**, dass ein Pydantic‑v2‑Modell Felder hat, die als Pydantic‑v1‑Modelle definiert sind, und umgekehrt. ```mermaid graph TB subgraph "❌ Nicht unterstützt" direction TB subgraph V2["Pydantic-v2-Modell"]Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 24 10:28:19 UTC 2025 - 6.3K bytes - Viewed (0) -
tests/test_request_params/test_header/test_optional_list.py
import pytest from fastapi import FastAPI, Header from fastapi.testclient import TestClient from pydantic import BaseModel, Field app = FastAPI() # ===================================================================================== # Without aliases @app.get("/optional-list-str") async def read_optional_list_str( p: Annotated[Optional[list[str]], Header()] = None, ): return {"p": p}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 9.3K bytes - Viewed (0) -
docs/de/docs/index.md
<style> .md-content .md-typeset h1 { display: none; } </style> <p align="center"> <a href="https://fastapi.tiangolo.com/de"><img src="https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" alt="FastAPI"></a> </p> <p align="center"> FastAPI-Framework, hohe Performanz, leicht zu lernen, schnell zu entwickeln, produktionsreif </p> <p align="center">
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 09:39:53 UTC 2025 - 25.8K bytes - Viewed (0) -
tests/test_tutorial/test_response_directly/test_tutorial002.py
client = TestClient(mod.app) return client def test_path_operation(client: TestClient): expected_content = """<?xml version="1.0"?> <shampoo> <Header> Apply shampoo here. </Header> <Body> You'll have to use soap here. </Body> </shampoo> """ response = client.get("/legacy/") assert response.status_code == 200, response.textRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/de/docs/how-to/separate-openapi-schemas.md
<div class="screenshot"> <img src="/img/tutorial/separate-openapi-schemas/image02.png"> </div>
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 24 10:28:19 UTC 2025 - 5.2K bytes - Viewed (0) -
fastapi/openapi/models.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 15.1K bytes - Viewed (0) -
docs/de/docs/tutorial/schema-extra-example.md
OpenAPI fügte auch die Felder `example` und `examples` zu anderen Teilen der Spezifikation hinzu: * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameter-object" class="external-link" target="_blank">`Parameter Object` (in der Spezifikation)</a>, das verwendet wurde von FastAPIs: * `Path()` * `Query()` * `Header()` * `Cookie()`
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 24 10:28:19 UTC 2025 - 10.6K bytes - Viewed (0)