Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 529 for tip (0.01 sec)

  1. docs/en/docs/tutorial/schema-extra-example.md

    You can set `schema_extra` with a `dict` containing any additional data you would like to show up in the generated JSON Schema, including `examples`.
    
    ////
    
    /// tip
    
    You could use the same technique to extend the JSON Schema and add your own custom extra info.
    
    For example you could use it to add metadata for a frontend user interface, etc.
    
    ///
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/first-steps.md

          <span style="background-color:#007166"><font color="#D3D7CF"> tip </font></span>  Running in development mode, for production use:
                 <b>fastapi run</b>
    
                 Logs:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 09 20:41:07 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/request-forms.md

    /// info | Información
    
    `Form` es una clase que hereda directamente de `Body`.
    
    ///
    
    /// tip | Consejo
    
    Para declarar bodies de forms, necesitas usar `Form` explícitamente, porque sin él, los parámetros se interpretarían como parámetros de query o como parámetros de body (JSON).
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    These dependencies will be executed/solved the same way as normal dependencies. But their value (if they return any) won't be passed to your *path operation function*.
    
    /// tip
    
    Some editors check for unused function parameters, and show them as errors.
    
    Using these `dependencies` in the *path operation decorator* you can make sure they are executed while avoiding editor/tooling errors.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/request-forms.md

    /// info
    
    `Form` is a class that inherits directly from `Body`.
    
    ///
    
    /// tip
    
    To declare form bodies, you need to use `Form` explicitly, because without it the parameters would be interpreted as query parameters or body (JSON) parameters.
    
    ///
    
    ## About "Form Fields" { #about-form-fields }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/cookie-param-models.md

    Это позволит вам **переиспользовать модель** в **разных местах**, а также объявить проверки и метаданные сразу для всех параметров. 😎
    
    /// note | Заметка
    
    Этот функционал доступен с версии `0.115.0`. 🤓
    
    ///
    
    /// tip | Совет
    
    Такой же подход применяется для `Query`, `Cookie`, и `Header`. 😎
    
    ///
    
    ## Pydantic-модель для cookies
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 14:14:42 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/using-request-directly.md

    {* ../../docs_src/using_request_directly/tutorial001.py hl[1,7:8] *}
    
    By declaring a *path operation function* parameter with the type being the `Request` **FastAPI** will know to pass the `Request` in that parameter.
    
    /// tip
    
    Note that in this case, we are declaring a path parameter beside the request parameter.
    
    So, the path parameter will be extracted, validated, converted to the specified type and annotated with OpenAPI.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/advanced-dependencies.md

    ```
    
    ...y pasará lo que eso retorne como el valor de la dependencia en nuestra *path operation function* como el parámetro `fixed_content_included`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[22] *}
    
    /// tip | Consejo
    
    Todo esto podría parecer complicado. Y puede que no esté muy claro cómo es útil aún.
    
    Estos ejemplos son intencionalmente simples, pero muestran cómo funciona todo.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-fields.md

    Remember that when you import `Query`, `Path`, and others from `fastapi`, those are actually functions that return special classes.
    
    ///
    
    /// tip
    
    Notice how each model's attribute with a type, default value and `Field` has the same structure as a *path operation function's* parameter, with `Field` instead of `Path`, `Query` and `Body`.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. docs/zh-hant/docs/tutorial/query-param-models.md

                "msg": "Extra inputs are not permitted",
                "input": "plumbus"
            }
        ]
    }
    ```
    
    ## 總結
    
    你可以使用 **Pydantic 模型**在 **FastAPI** 中聲明**查詢參數**。😎
    
    /// tip
    
    劇透警告:你也可以使用 Pydantic 模型來聲明 cookie 和 headers,但你將在本教學的後面部分閱讀到這部分內容。🤫
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Nov 27 22:14:10 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top