Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. docs/fr/docs/tutorial/body.md

    <img src="/img/tutorial/body/image05.png">
    
    /// tip | "Astuce"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:34:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  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