- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 923 for fonction (0.07 seconds)
-
docs/de/docs/advanced/testing-dependencies.md
Um eine Abhängigkeit für das Testen zu überschreiben, geben Sie als Schlüssel die ursprüngliche Abhängigkeit (eine Funktion) und als Wert Ihre Überschreibung der Abhängigkeit (eine andere Funktion) ein. Und dann ruft **FastAPI** diese Überschreibung anstelle der ursprünglichen Abhängigkeit auf. {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 3.2K bytes - Click Count (0) -
docs/es/docs/advanced/templates.md
También puedes usar `url_for()` dentro de la plantilla, toma como argumentos los mismos que usaría tu *path operation function*. Entonces, la sección con: {% raw %} ```jinja <a href="{{ url_for('read_item', id=id) }}"> ``` {% endraw %} ...generará un enlace hacia la misma URL que manejaría la *path operation function* `read_item(id=id)`. Por ejemplo, con un ID de `42`, esto se renderizaría como: ```htmlCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Function; import com.google.common.collect.testing.AnEnum; import com.google.common.collect.testing.MapTestSuiteBuilder; import com.google.common.collect.testing.TestEnumMapGenerator;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.8K bytes - Click Count (0) -
docs_src/dependencies/tutorial008e_an_py39.py
def get_username(): try: yield "Rick" finally: print("Cleanup up before response is sent") @app.get("/users/me") def get_user_me(username: Annotated[str, Depends(get_username, scope="function")]):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 03 10:12:49 GMT 2025 - 329 bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
{* ../../docs_src/dependencies/tutorial008e_an_py39.py hl[12,16] *} `Depends()` recebe um parâmetro `scope` que pode ser:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.2K bytes - Click Count (0) -
docs/ru/llm-prompt.md
* tested (adjective): протестированный * middleware: middleware (don't translate, but add `промежуточный слой` if clarification is needed) * path operation: операция пути (optionally clarify as `обработчик пути`) * path operation function: функция-обработчик пути (or `функция обработки пути`) * proprietary: проприетарный * benchmark: бенчмарк (add (`тест производительности`) if clarification is needed or use just `тест производительности`) * ASGI server: ASGI-сервер
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Oct 06 11:09:58 GMT 2025 - 6K bytes - Click Count (0) -
docs/es/docs/advanced/dataclasses.md
8. Nota que esta *path operation function* usa `def` regular en lugar de `async def`. Como siempre, en FastAPI puedes combinar `def` y `async def` según sea necesario. Si necesitas un repaso sobre cuándo usar cuál, revisa la sección _"¿Con prisa?"_ en la documentación sobre [`async` y `await`](../async.md#in-a-hurry){.internal-link target=_blank}.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 4.5K bytes - Click Count (0) -
docs/es/docs/tutorial/security/first-steps.md
{* ../../docs_src/security/tutorial001_an_py39.py hl[12] *} Esta dependencia proporcionará un `str` que se asigna al parámetro `token` de la *path operation function*. **FastAPI** sabrá que puede usar esta dependencia para definir un "security scheme" en el esquema OpenAPI (y en los docs automáticos del API). /// info | Detalles técnicosCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 8.9K bytes - Click Count (0) -
util/deploy_snapshot.sh
#!/bin/bash # see https://coderwall.com/p/9b_lfq set -e -u function mvn_deploy() { ./mvnw clean deploy -DskipTests=true "$@" } echo "Publishing Maven snapshot..." mvn_deploy mvn_deploy -f android/pom.xml
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Oct 16 20:48:20 GMT 2023 - 245 bytes - Click Count (0) -
docs/en/docs/reference/uploadfile.md
# `UploadFile` class You can define *path operation function* parameters to be of the type `UploadFile` to receive files from the request. You can import it directly from `fastapi`: ```python from fastapi import UploadFile ``` ::: fastapi.UploadFile options: members: - file - filename - size - headers - content_type - readCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 472 bytes - Click Count (0)