Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 561 for tip (0.01 seconds)

  1. docs/es/docs/tutorial/response-model.md

    FastAPI usará este `response_model` para hacer toda la documentación de datos, validación, etc. y también para **convertir y filtrar los datos de salida** a su declaración de tipo.
    
    /// tip | Consejo
    
    Si tienes chequeos estrictos de tipos en tu editor, mypy, etc., puedes declarar el tipo de retorno de la función como `Any`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  2. 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`.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. 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.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/cookie-param-models.md

    /// note | Hinweis
    
    Dies wird seit FastAPI Version `0.115.0` unterstützt. 🤓
    
    ///
    
    /// tip | Tipp
    
    Diese gleiche Technik gilt für `Query`, `Cookie` und `Header`. 😎
    
    ///
    
    ## Cookies mit einem Pydantic-Modell { #cookies-with-a-pydantic-model }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 13:54:34 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. docs/ja/docs/deployment/manually.md

    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    ////
    
    /// tip | 豆知識
    
    `standard` を加えることで、Uvicornがインストールされ、いくつかの推奨される依存関係を利用するようになります。
    
    これには、`asyncio` の高性能な完全互換品である `uvloop` が含まれ、並行処理のパフォーマンスが大幅に向上します。
    
    ///
    
    //// tab | Hypercorn
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/query-param-models.md

                "input": "plumbus"
            }
        ]
    }
    ```
    
    ## Resumo { #summary }
    
    Você pode utilizar **modelos Pydantic** para declarar **parâmetros de consulta** no **FastAPI**. 😎
    
    /// tip | Dica
    
    Alerta de spoiler: você também pode utilizar modelos Pydantic para declarar cookies e cabeçalhos, mas você irá ler sobre isso mais a frente no tutorial. 🤫
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. 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`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  8. 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.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/body-fields.md

    Recuerda que cuando importas `Query`, `Path`, y otros desde `fastapi`, en realidad son funciones que devuelven clases especiales.
    
    ///
    
    /// tip | Consejo
    
    Observa cómo cada atributo del modelo con un tipo, un valor por defecto y `Field` tiene la misma estructura que un parámetro de una *path operation function*, con `Field` en lugar de `Path`, `Query` y `Body`.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/response-cookies.md

    Then set Cookies in it, and then return it:
    
    {* ../../docs_src/response_cookies/tutorial001_py39.py hl[10:12] *}
    
    /// tip
    
    Keep in mind that if you return a response directly instead of using the `Response` parameter, FastAPI will return it directly.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top