Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 563 for tip (0.01 sec)

  1. docs/de/docs/tutorial/body-fields.md

    Denken Sie daran, dass `Query`, `Path` und andere, wenn Sie sie von `fastapi` importieren, tatsächlich Funktionen sind, die spezielle Klassen zurückgeben.
    
    ///
    
    /// tip | Tipp
    
    Beachten Sie, wie jedes Attribut eines Modells mit einem Typ, Defaultwert und `Field` die gleiche Struktur hat wie ein Parameter einer *Pfadoperation-Funktion*, nur mit `Field` statt `Path`, `Query`, `Body`.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. docs/ru/docs/advanced/using-request-directly.md

    {* ../../docs_src/using_request_directly/tutorial001_py39.py hl[1,7:8] *}
    
    Если объявить параметр *функции-обработчика пути* с типом `Request`, **FastAPI** поймёт, что нужно передать объект `Request` в этот параметр.
    
    /// tip | Совет
    
    Обратите внимание, что в этом примере мы объявляем path-параметр вместе с параметром `Request`.
    
    Таким образом, path-параметр будет извлечён, валидирован, преобразован к указанному типу и задокументирован в OpenAPI.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. docs/pt/docs/deployment/concepts.md

    Mas nos casos com erros realmente graves que travam o **processo** em execução, você vai querer um componente externo que seja responsável por **reiniciar** o processo, pelo menos algumas vezes...
    
    /// tip | Dica
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. docs/ru/docs/advanced/advanced-dependencies.md

    checker(q="somequery")
    ```
    
    …и передаст возвращённое значение как значение зависимости в нашу *функцию-обработчике пути* в параметр `fixed_content_included`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[22] *}
    
    /// tip | Совет
    
    Все это может показаться притянутым за уши. И пока может быть не совсем понятно, чем это полезно.
    
    Эти примеры намеренно простые, но они показывают, как всё устроено.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Diese Abhängigkeiten werden auf die gleiche Weise wie normale Abhängigkeiten ausgeführt/aufgelöst. Aber ihr Wert (falls sie einen zurückgeben) wird nicht an Ihre *Pfadoperation-Funktion* übergeben.
    
    /// tip | Tipp
    
    Einige Editoren prüfen, ob Funktionsparameter nicht verwendet werden, und zeigen das als Fehler an.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. docs/ja/docs/advanced/index.md

    # 高度なユーザーガイド
    
    ## さらなる機能
    
    [チュートリアル - ユーザーガイド](../tutorial/index.md){.internal-link target=_blank}により、**FastAPI**の主要な機能は十分に理解できたことでしょう。
    
    以降のセクションでは、チュートリアルでは説明しきれなかったオプションや設定、および機能について説明します。
    
    /// tip | 豆知識
    
    以降のセクションは、 **必ずしも"応用編"ではありません**。
    
    ユースケースによっては、その中から解決策を見つけられるかもしれません。
    
    ///
    
    ## 先にチュートリアルを読む
    
    [チュートリアル - ユーザーガイド](../tutorial/index.md){.internal-link target=_blank}の知識があれば、**FastAPI**の主要な機能を利用することができます。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/using-request-directly.md

    {* ../../docs_src/using_request_directly/tutorial001_py39.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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 27 22:14:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/response-directly.md

    Pode ser útil para retornar cabeçalhos e cookies personalizados, por exemplo.
    
    ## Retornando uma `Response` { #return-a-response }
    
    Na verdade, você pode retornar qualquer `Response` ou subclasse dela.
    
    /// tip | Dica
    
    A própria `JSONResponse` é uma subclasse de `Response`.
    
    ///
    
    E quando você retorna uma `Response`, o **FastAPI** vai repassá-la diretamente.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top