Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 551 for tutoriel (0.06 seconds)

  1. docs/es/docs/deployment/versions.md

    ///
    
    ## Actualizando las versiones de FastAPI { #upgrading-the-fastapi-versions }
    
    Deberías añadir tests para tu aplicación.
    
    Con **FastAPI** es muy fácil (gracias a Starlette), revisa la documentación: [Testing](../tutorial/testing.md){.internal-link target=_blank}
    
    Después de tener tests, puedes actualizar la versión de **FastAPI** a una más reciente, y asegurarte de que todo tu código está funcionando correctamente ejecutando tus tests.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/advanced-dependencies.md

    And when using `Depends(scope="request")` (the default), the exit code after `yield` is executed after the response is sent.
    
    You can read more about it in the docs for [Dependencies with `yield` - Early exit and `scope`](../tutorial/dependencies/dependencies-with-yield.md#early-exit-and-scope).
    
    ### Dependencies with `yield` and `StreamingResponse`, Technical Details { #dependencies-with-yield-and-streamingresponse-technical-details }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Nov 13 07:37:15 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. docs/ru/docs/tutorial/schema-extra-example.md

    {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *}
    
    ### Пример в UI документации { #example-in-the-docs-ui }
    
    С любым из перечисленных выше методов это будет выглядеть так в `/docs`:
    
    <img src="/img/tutorial/body-fields/image01.png">
    
    ### `Body` с несколькими `examples` { #body-with-multiple-examples }
    
    Конечно, вы можете передать и несколько `examples`:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/response-model.md

    因此,**FastAPI** 将会负责过滤掉未在输出模型中声明的所有数据(使用 Pydantic)。
    
    ## 在文档中查看
    
    当你查看自动化文档时,你可以检查输入模型和输出模型是否都具有自己的 JSON Schema:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image01.png">
    
    并且两种模型都将在交互式 API 文档中使用:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image02.png">
    
    ## 响应模型编码参数
    
    你的响应模型可以具有默认值,例如:
    
    {* ../../docs_src/response_model/tutorial004.py hl[11,13:14] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  5. docs/fr/docs/advanced/response-directly.md

    Par défaut, **FastAPI** convertirait automatiquement cette valeur de retour en JSON en utilisant le `jsonable_encoder` expliqué dans [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Ensuite, en arrière-plan, il mettra ces données JSON-compatible (par exemple un `dict`) à l'intérieur d'un `JSONResponse` qui sera utilisé pour envoyer la réponse au client.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  6. docs/en/docs/how-to/extending-openapi.md

    Once you go to <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a> you will see that you are using your custom logo (in this example, **FastAPI**'s logo):
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. fastapi/utils.py

        "response model from the type annotation with the path operation decorator "
        "parameter response_model=None. Read more: "
        "https://fastapi.tiangolo.com/tutorial/response-model/"
    )
    
    
    def create_model_field(
        name: str,
        type_: Any,
        class_validators: Optional[dict[str, Validator]] = None,
        default: Optional[Any] = Undefined,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. docs/es/docs/how-to/custom-request-and-route.md

    /// tip | Consejo
    
    Para resolver este mismo problema, probablemente sea mucho más fácil usar el `body` en un manejador personalizado para `RequestValidationError` ([Manejo de Errores](../tutorial/handling-errors.md#use-the-requestvalidationerror-body){.internal-link target=_blank}).
    
    Pero este ejemplo sigue siendo válido y muestra cómo interactuar con los componentes internos.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/advanced-dependencies.md

    E ao usar `Depends(scope="request")` (o padrão), o código de saída após o `yield` é executado depois que a response é enviada.
    
    Você pode ler mais na documentação em [Dependências com `yield` - Saída antecipada e `scope`](../tutorial/dependencies/dependencies-with-yield.md#early-exit-and-scope).
    
    ### Dependências com `yield` e `StreamingResponse`, Detalhes Técnicos { #dependencies-with-yield-and-streamingresponse-technical-details }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 20:32:40 GMT 2025
    - 10K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/settings.md

    ## Settings in another module { #settings-in-another-module }
    
    You could put those settings in another module file as you saw in [Bigger Applications - Multiple Files](../tutorial/bigger-applications.md){.internal-link target=_blank}.
    
    For example, you could have a file `config.py` with:
    
    {* ../../docs_src/settings/app01_py39/config.py *}
    
    And then use it in a file `main.py`:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 11.2K bytes
    - Click Count (0)
Back to Top