Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 558 for tipo (0.07 sec)

  1. docs/ru/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *}
    
    Обратите внимание, что мы объявляем тип `current_user` как Pydantic-модель `User`.
    
    Это поможет внутри функции с автозавершением и проверками типов.
    
    /// tip | Подсказка
    
    Возможно, вы помните, что тела запросов также объявляются с помощью Pydantic-моделей.
    
    Здесь **FastAPI** не запутается, потому что вы используете `Depends`.
    
    ///
    
    /// check | Заметка
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/request-forms.md

    /// info | Informação
    
    `Form` é uma classe que herda diretamente de `Body`.
    
    ///
    
    /// tip | Dica
    
    Para declarar corpos de formulário, você precisa usar `Form` explicitamente, porque sem ele os parâmetros seriam interpretados como parâmetros de consulta ou parâmetros de corpo (JSON).
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/request-forms.md

    <abbr title="specification">该规范</abbr>要求字段必须命名为 `username` 和 `password`,并通过表单字段发送,不能用 JSON。
    
    使用 `Form` 可以声明与 `Body` (及 `Query`、`Path`、`Cookie`)相同的元数据和验证。
    
    /// info | 说明
    
    `Form` 是直接继承自 `Body` 的类。
    
    ///
    
    /// tip | 提示
    
    声明表单体要显式使用 `Form` ,否则,FastAPI 会把该参数当作查询参数或请求体(JSON)参数。
    
    ///
    
    ## 关于 "表单字段"
    
    与 JSON 不同,HTML 表单(`<form></form>`)向服务器发送数据通常使用「特殊」的编码。
    
    **FastAPI** 要确保从正确的位置读取数据,而不是读取 JSON。
    
    /// note | 技术细节
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/templates.md

    Antes do FastAPI 0.108.0, Starlette 0.29.0, `name` era o primeiro parâmetro.
    
    Além disso, em versões anteriores, o objeto `request` era passado como parte dos pares chave-valor no "context" dict para o Jinja2.
    
    ///
    
    /// tip | Dica
    
    Ao declarar `response_class=HTMLResponse`, a documentação entenderá que a resposta será HTML.
    
    ///
    
    /// note | Detalhes Técnicos
    
    Você também poderia usar `from starlette.templating import Jinja2Templates`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. docs/ru/docs/advanced/generate-clients.md

    Больше генераторов SDK можно найти на <a href="https://openapi.tools/#sdk" class="external-link" target="_blank">OpenAPI.Tools</a>.
    
    /// tip | Совет
    
    FastAPI автоматически генерирует спецификации **OpenAPI 3.1**, поэтому любой используемый инструмент должен поддерживать эту версию.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/index.md

    You **don't call it** directly (don't add the parenthesis at the end), you just pass it as a parameter to `Depends()`.
    
    And that function takes parameters in the same way that *path operation functions* do.
    
    /// tip
    
    You'll see what other "things", apart from functions, can be used as dependencies in the next chapter.
    
    ///
    
    Whenever a new request arrives, **FastAPI** will take care of:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/schema-extra-example.md

    You can set `"json_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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. docs/zh/docs/deployment/concepts.md

    当然,也有一些情况,多次运行前面的步骤也没有问题,这样的话就好办多了。
    
    /// tip
    
    另外,请记住,根据您的设置,在某些情况下,您在开始应用程序之前**可能甚至不需要任何先前的步骤**。
    
     在这种情况下,您就不必担心这些。 🤷
    
    ///
    
    ### 前面步骤策略的示例
    
    这将在**很大程度上取决于您部署系统的方式**,并且可能与您启动程序、处理重启等的方式有关。
    
    以下是一些可能的想法:
    
    * Kubernetes 中的“Init Container”在应用程序容器之前运行
    * 一个 bash 脚本,运行前面的步骤,然后启动您的应用程序
         * 您仍然需要一种方法来启动/重新启动 bash 脚本、检测错误等。
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/body-multiple-params.md

            "price": 42.0,
            "tax": 3.2
        },
        "user": {
            "username": "dave",
            "full_name": "Dave Grohl"
        },
        "importance": 5
    }
    ```
    
    Mais uma vez, ele converterá os tipos de dados, validar, documentar, etc.
    
    ## Múltiplos parâmetros de corpo e consulta { #multiple-body-params-and-query }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/security/oauth2-jwt.md

    <div class="termy">
    
    ```console
    $ pip install "pwdlib[argon2]"
    
    ---> 100%
    ```
    
    </div>
    
    /// tip | Consejo
    
    Con `pwdlib`, incluso podrías configurarlo para poder leer contraseñas creadas por **Django**, un plug-in de seguridad de **Flask** u otros muchos.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top