Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 576 for ditt (0.02 sec)

  1. docs/pt/docs/tutorial/path-params.md

    	Você também poderia acessar o valor `"lenet"` com `ModelName.lenet.value`
    
    #### Retorne *membros de enumeration*
    
    Você pode retornar *membros de enum* da sua *rota de operação*, em um corpo JSON aninhado (por exemplo um `dict`).
    
    Eles serão convertidos para o seus valores correspondentes (strings nesse caso) antes de serem retornados ao cliente:
    
    ```Python hl_lines="18  21  23"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. docs/tr/docs/tutorial/path-params.md

    ```
    
    /// tip | "İpucu"
    
    `"lenet"` değerine `ModelName.lenet.value` tanımı ile de ulaşabilirsiniz.
    
    ///
    
    #### *Enumeration Üyelerini* Döndürelim
    
    JSON gövdesine (örneğin bir `dict`) gömülü olsalar bile *yol operasyonundaki* *enum üyelerini* döndürebilirsiniz.
    
    Bu üyeler istemciye iletilmeden önce kendilerine karşılık gelen değerlerine (bu durumda string) dönüştürüleceklerdir:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/first-steps.md

    ///
    
    ### Schritt 5: den Inhalt zurückgeben
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Sie können ein `dict`, eine `list`, einzelne Werte wie `str`, `int`, usw. zurückgeben.
    
    Sie können auch Pydantic-Modelle zurückgeben (dazu später mehr).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/custom-response.md

    ///
    
    ### `Response`
    
    👑 `Response` 🎓, 🌐 🎏 📨 😖 ⚪️➡️ ⚫️.
    
    👆 💪 📨 ⚫️ 🔗.
    
    ⚫️ 🚫 📄 🔢:
    
    * `content` - `str` ⚖️ `bytes`.
    * `status_code` - `int` 🇺🇸🔍 👔 📟.
    * `headers` - `dict` 🎻.
    * `media_type` - `str` 🤝 📻 🆎. 🤶 Ⓜ. `"text/html"`.
    
    FastAPI (🤙 💃) 🔜 🔁 🔌 🎚-📐 🎚. ⚫️ 🔜 🔌 🎚-🆎 🎚, ⚓️ 🔛 = & 🔁 = ✍ 🆎.
    
    ```Python hl_lines="1  18"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/first-steps.md

    ///
    
    ### 步骤 5:返回内容
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    你可以返回一个 `dict`、`list`,像 `str`、`int` 一样的单个值,等等。
    
    你还可以返回 Pydantic 模型(稍后你将了解更多)。
    
    还有许多其他将会自动转换为 JSON 的对象和模型(包括 ORM 对象等)。尝试下使用你最喜欢的一种,它很有可能已经被支持。
    
    ## 总结
    
    * 导入 `FastAPI`。
    * 创建一个 `app` 实例。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[75:80] hl[77] *}
    
    ### Atualizar um Hero com `HeroUpdate`
    
    Podemos **atualizar um hero**. Para isso, usamos uma operação HTTP `PATCH`.
    
    E no código, obtemos um `dict` com todos os dados enviados pelo cliente, **apenas os dados enviados pelo cliente**, excluindo quaisquer valores que estariam lá apenas por serem os valores padrão. Para fazer isso, usamos `exclude_unset=True`. Este é o truque principal. 🪄
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/custom-response.md

    Sie können sie direkt zurückgeben.
    
    Sie akzeptiert die folgenden Parameter:
    
    * `content` – Ein `str` oder `bytes`.
    * `status_code` – Ein `int`-HTTP-Statuscode.
    * `headers` – Ein `dict` von Strings.
    * `media_type` – Ein `str`, der den Medientyp angibt. Z. B. `"text/html"`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        String ONLINE_HELP_NAME_DICT_SYNONYM = "online.help.name.dict.synonym";
    
        /** The key of the configuration. e.g. dict */
        String ONLINE_HELP_NAME_DICT = "online.help.name.dict";
    
        /** The key of the configuration. e.g. kuromoji */
        String ONLINE_HELP_NAME_DICT_KUROMOJI = "online.help.name.dict.kuromoji";
    
        /** The key of the configuration. e.g. protwords */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 468.5K bytes
    - Viewed (1)
  9. docs/fr/docs/tutorial/path-params.md

    ///
    
    #### Retourner des *membres d'énumération*
    
    Vous pouvez retourner des *membres d'énumération* dans vos *fonctions de chemin*, même imbriquée dans un JSON (e.g. un `dict`).
    
    Ils seront convertis vers leurs valeurs correspondantes (chaînes de caractères ici) avant d'être transmis au client :
    
    ```Python hl_lines="18  21  23"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip
    
    When raising an `HTTPException`, you can pass any value that can be converted to JSON as the parameter `detail`, not only `str`.
    
    You could pass a `dict`, a `list`, etc.
    
    They are handled automatically by **FastAPI** and converted to JSON.
    
    ///
    
    ## Add custom headers
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top