Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 495 for tip (0.2 sec)

  1. docs/ru/docs/tutorial/first-steps.md

    Можно также использовать операции:
    
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    
    И более экзотические:
    
    * `@app.options()`
    * `@app.head()`
    * `@app.patch()`
    * `@app.trace()`
    
    /// tip | "Подсказка"
    
    Вы можете использовать каждую операцию (HTTP-метод) по своему усмотрению.
    
    **FastAPI** не навязывает определенного значения для каждого метода.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. README.md

    - **Newsletter**: Subscribe to the [Gradle Newsletter](https://newsletter.gradle.org) for news, tutorials, and community highlights.
    
    > **Quick Tip**: New contributors to Gradle projects are encouraged to ask questions in the Slack `#community-support` channel.
    
    ---
    
    ### 🌱 **Contributing to Gradle**
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Nov 01 05:30:25 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/dependencies/index.md

    {!../../docs_src/dependencies/tutorial001.py!}
    ```
    
    虽然,在路径操作函数的参数中使用 `Depends` 的方式与 `Body`、`Query` 相同,但 `Depends` 的工作方式略有不同。
    
    这里只能传给 Depends 一个参数。
    
    且该参数必须是可调用对象,比如函数。
    
    该函数接收的参数和*路径操作函数*的参数一样。
    
    /// tip | "提示"
    
    下一章介绍,除了函数还有哪些「对象」可以用作依赖项。
    
    ///
    
    接收到新的请求时,**FastAPI** 执行如下操作:
    
    * 用正确的参数调用依赖项函数(「可依赖项」)
    * 获取函数返回的结果
    * 把函数返回的结果赋值给*路径操作函数*的参数
    
    ```mermaid
    graph TB
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. docs/zh/docs/fastapi-cli.md

    默认情况下,**自动重载是禁用的**。
    
    它将监听 IP 地址 `0.0.0.0`,即所有可用的 IP 地址,这样任何能够与该机器通信的人都可以公开访问它。这通常是你在生产环境中运行它的方式,例如在容器中运行。
    
    在大多数情况下,你会(且应该)有一个“终止代理”在上层为你处理 HTTPS,这取决于你如何部署应用程序,你的服务提供商可能会为你处理此事,或者你可能需要自己设置。
    
    /// tip | "提示"
    
    你可以在 [deployment documentation](deployment/index.md){.internal-link target=_blank} 获得更多信息。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/body.md

    Но у вас будет такая же поддержка и с <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>, и вообще с любым редактором Python:
    
    <img src="/img/tutorial/body/image05.png">
    
    /// tip | "Подсказка"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/body.md

    <img src="/img/tutorial/body/image05.png">
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/body.md

    但 <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a> 和大多数 Python 编辑器也支持同样的功能:
    
    <img src="/img/tutorial/body/image05.png">
    
    /// tip | "提示"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/handling-errors.md

    Но если клиент запросит `http://example.com/items/bar` (несуществующий `item_id` `"bar"`), то он получит статус-код 404 (ошибка "не найдено") и JSON-ответ в виде:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | "Подсказка"
    
    При вызове `HTTPException` в качестве параметра `detail` можно передавать любое значение, которое может быть преобразовано в JSON, а не только `str`.
    
    Вы можете передать `dict`, `list` и т.д.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/body-nested-models.md

    É isso que vamos ver aqui.
    
    Neste caso, você aceitaria qualquer `dict`, desde que tenha chaves` int` com valores `float`:
    
    ```Python hl_lines="9"
    {!../../docs_src/body_nested_models/tutorial009.py!}
    ```
    
    /// tip | "Dica"
    
    Leve em condideração que o JSON só suporta `str` como chaves.
    
    Mas o Pydantic tem conversão automática de dados.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body.md

    Mas você terá o mesmo suporte do editor no <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a> e na maioria dos editores Python:
    
    <img src="/img/tutorial/body/image05.png">
    
    /// tip | "Dica"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top