- Sort Score
- Num 10 results
- Language All
Results 1591 - 1600 of 1,689 for py (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/de/docs/tutorial/static-files.md
## `StaticFiles` verwenden { #use-staticfiles } * Importieren Sie `StaticFiles`. * „Mounten“ Sie eine `StaticFiles()`-Instanz in einem bestimmten Pfad. {* ../../docs_src/static_files/tutorial001_py310.py hl[2,6] *} /// note | Technische Details Sie könnten auch `from starlette.staticfiles import StaticFiles` verwenden.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 1.9K bytes - Click Count (0) -
ci/official/libtensorflow.sh
python_bin=python3 # TODO(belitskiy): Add a `python3` alias/symlink to Windows Docker image. if [[ $(uname -s) = MSYS_NT* ]]; then python_bin="python" fi tfrun "$python_bin" tensorflow/tools/ci_build/update_version.py --nightly fi if [[ $(uname -s) != MSYS_NT* ]]; then tfrun bazel $TFCI_BAZEL_BAZELRC_ARGS test $TFCI_BAZEL_COMMON_ARGS --config=linux_libtensorflow_test
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Jan 24 20:17:08 GMT 2025 - 2K bytes - Click Count (0) -
docs/fr/docs/tutorial/encoder.md
Vous pouvez utiliser `jsonable_encoder` pour cela. Elle reçoit un objet, comme un modèle Pydantic, et renvoie une version compatible JSON : {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} Dans cet exemple, elle convertirait le modèle Pydantic en `dict`, et le `datetime` en `str`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 1.8K bytes - Click Count (0) -
docs/pt/docs/tutorial/encoder.md
Você pode usar a função `jsonable_encoder` para resolver isso. A função recebe um objeto, como um modelo Pydantic e retorna uma versão compatível com JSON: {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} Neste exemplo, ele converteria o modelo Pydantic em um `dict`, e o `datetime` em um `str`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 1.7K bytes - Click Count (0) -
docs/pt/docs/advanced/response-change-status-code.md
E então você pode definir o `status_code` neste objeto de retorno *temporal*. {* ../../docs_src/response_change_status_code/tutorial001_py310.py hl[1,9,12] *} E então você pode retornar qualquer objeto que você precise, como você faria normalmente (um `dict`, um modelo de banco de dados, etc.).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 1.7K bytes - Click Count (0) -
docs/tr/docs/advanced/using-request-directly.md
*Path operation function* içinde client'ın IP adresini/host'unu almak istediğinizi düşünelim. Bunun için request'e doğrudan erişmeniz gerekir. {* ../../docs_src/using_request_directly/tutorial001_py310.py hl[1,7:8] *} Tipi `Request` olan bir *path operation function* parameter'ı tanımladığınızda **FastAPI**, o parameter'a `Request` nesnesini geçmesi gerektiğini anlar. /// tip | İpucu
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 2.5K bytes - Click Count (0) -
fastapi/.agents/skills/fastapi/SKILL.md
@router.get("/") async def list_items(): return [] # In main.py app.include_router(router) ``` instead of this: ```python # DO NOT DO THIS from fastapi import APIRouter, FastAPI app = FastAPI() router = APIRouter() @router.get("/") async def list_items(): return [] # In main.py app.include_router(router, prefix="/items", tags=["items"]) ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 10.1K bytes - Click Count (0) -
docs/de/docs/advanced/response-change-status-code.md
{* ../../docs_src/response_change_status_code/tutorial001_py310.py hl[1,9,12] *} Und dann können Sie jedes benötigte Objekt zurückgeben, wie Sie es normalerweise tun würden (ein `dict`, ein Datenbankmodell usw.).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 2K bytes - Click Count (0) -
docs/de/docs/tutorial/encoder.md
Sie können für diese Fälle `jsonable_encoder` verwenden. Es nimmt ein Objekt entgegen, wie etwa ein Pydantic-Modell, und gibt eine JSON-kompatible Version zurück: {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} In diesem Beispiel wird das Pydantic-Modell in ein `dict`, und das `datetime`-Objekt in ein `str` konvertiert.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 1.8K bytes - Click Count (0) -
docs/es/docs/tutorial/encoder.md
Puedes usar `jsonable_encoder` para eso. Recibe un objeto, como un modelo de Pydantic, y devuelve una versión compatible con JSON: {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} En este ejemplo, convertiría el modelo de Pydantic a un `dict`, y el `datetime` a un `str`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 1.7K bytes - Click Count (0)