- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 1,681 for tone (0.02 seconds)
-
docs/ru/docs/tutorial/metadata.md
* Вы можете задать его URL с помощью параметра `docs_url`. * Вы можете отключить это с помощью настройки `docs_url=None`. * **ReDoc**: отображаемый по адресу `/redoc`. * Вы можете задать его URL с помощью параметра `redoc_url`. * Вы можете отключить это с помощью настройки `redoc_url=None`. К примеру, чтобы задать отображение Swagger UI по адресу `/documentation` и отключить ReDoc:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 9.2K bytes - Click Count (0) -
tests/test_jsonable_encoder.py
@property def __dict__(self): raise NotImplementedError() class RoleEnum(Enum): admin = "admin" normal = "normal" class ModelWithConfig(BaseModel): role: RoleEnum | None = None model_config = {"use_enum_values": True} class ModelWithAlias(BaseModel): foo: str = Field(alias="Foo") class ModelWithDefault(BaseModel): foo: str = ... # type: ignoreCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.2K bytes - Click Count (0) -
docs/de/docs/python-types.md
#### Vielleicht `None` { #possibly-none } Sie können deklarieren, dass ein Wert einen Typ haben könnte, wie `str`, dass er aber auch `None` sein könnte. //// tab | Python 3.10+ ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial009_py310.py!} ``` ////Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.6K bytes - Click Count (1) -
docs_src/query_params_str_validations/tutorial007_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 337 bytes - Click Count (0) -
tests/test_tutorial/test_additional_status_codes/test_tutorial001.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 934 bytes - Click Count (0) -
tests/test_security_http_digest_optional.py
from inline_snapshot import snapshot app = FastAPI() security = HTTPDigest(auto_error=False) @app.get("/users/me") def read_current_user( credentials: HTTPAuthorizationCredentials | None = Security(security), ): if credentials is None: return {"msg": "Create an account first"} return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.3K bytes - Click Count (0) -
docs/fr/docs/tutorial/body.md
/// note | Remarque **FastAPI** saura que la valeur de `q` n'est pas requise grâce à la valeur par défaut `= None`. L'annotation de type `str | None` n'est pas utilisée par **FastAPI** pour déterminer que la valeur n'est pas requise, il le saura parce qu'elle a une valeur par défaut `= None`. Mais ajouter ces annotations de type permettra à votre éditeur de vous offrir un meilleur support et de détecter des erreurs.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 7.8K bytes - Click Count (0) -
docs_src/encoder/tutorial001_py310.py
from fastapi import FastAPI from fastapi.encoders import jsonable_encoder from pydantic import BaseModel fake_db = {} class Item(BaseModel): title: str timestamp: datetime description: str | None = None app = FastAPI() @app.put("/items/{id}") def update_item(id: str, item: Item): json_compatible_item_data = jsonable_encoder(item)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 430 bytes - Click Count (0) -
scripts/general-llm-prompt.md
end subgraph stone-project[philosophers-stone project] stone(philosophers-stone) -->|requires| harry-1 end ``` Existing translation (German) - has three translations: ```mermaid flowchart LR subgraph global[globale Umgebung] harry-1[harry v1] end subgraph stone-project[philosophers-stone-Projekt] stone(philosophers-stone) -->|benötigt| harry-1Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Mar 18 10:55:36 GMT 2026 - 14.6K bytes - Click Count (0) -
fastapi/exception_handlers.py
from starlette.responses import JSONResponse, Response from starlette.status import WS_1008_POLICY_VIOLATION async def http_exception_handler(request: Request, exc: HTTPException) -> Response: headers = getattr(exc, "headers", None) if not is_body_allowed_for_status_code(exc.status_code): return Response(status_code=exc.status_code, headers=headers) return JSONResponse(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Sep 16 17:21:48 GMT 2025 - 1.2K bytes - Click Count (0)