Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Elias (0.12 sec)

  1. docs/fr/docs/tutorial/query-params-str-validations.md

    Le nom le plus proche serait `item_query`.
    
    Mais vous avez vraiment envie que ce soit exactement `item-query`...
    
    Pour cela vous pouvez déclarer un `alias`, et cet alias est ce qui sera utilisé pour trouver la valeur du paramètre :
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial009.py!}
    ```
    
    ## Déprécier des paramètres
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/query-params-str-validations.md

    以下のような感じです:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    しかし、`item-query`は有効なPythonの変数名ではありません。
    
    最も近いのは`item_query`でしょう。
    
    しかし、どうしても`item-query`と正確に一致している必要があるとします...
    
    それならば、`alias`を宣言することができます。エイリアスはパラメータの値を見つけるのに使用されます:
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial009.py!}
    ```
    
    ## 非推奨パラメータ
    
    さて、このパラメータが気に入らなくなったとしましょう
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 10.5K bytes
    - Viewed (1)
  3. docs/em/docs/tutorial/query-params-str-validations.md

    💖:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    ✋️ `item-query` 🚫 ☑ 🐍 🔢 📛.
    
    🔐 🔜 `item_query`.
    
    ✋️ 👆 💪 ⚫️ ⚫️❔ `item-query`...
    
    ⤴️ 👆 💪 📣 `alias`, & 👈 📛 ⚫️❔ 🔜 ⚙️ 🔎 🔢 💲:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params_str_validations/tutorial009.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/response-model.md

        This also applies to `response_model_by_alias` that works similarly.
    
    === "Python 3.10+"
    
        ```Python hl_lines="29  35"
        {!> ../../../docs_src/response_model/tutorial005_py310.py!}
        ```
    
    === "Python 3.8+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/query-params-str-validations.md

    Am ähnlichsten wäre `item_query`.
    
    Aber Sie möchten dennoch exakt `item-query` verwenden.
    
    Dann können Sie einen `alias` deklarieren, und dieser Alias wird verwendet, um den Parameter-Wert zu finden:
    
    === "Python 3.10+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params_str_validations/tutorial009_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="9"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/dependencies/index.md

    === "Python 3.8+"
    
        ```Python hl_lines="15  19  24"
        {!> ../../../docs_src/dependencies/tutorial001_02_an.py!}
        ```
    
    !!! tip "Подсказка"
        Это стандартный синтаксис python и называется "type alias", это не особенность **FastAPI**.
    
        Но потому что **FastAPI** базируется на стандартах Python,  включая `Annotated`, вы можете использовать этот трюк в вашем коде. 😎
    
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/response-model.md

        Das trifft auch auf `response_model_by_alias` zu, welches ähnlich funktioniert.
    
    === "Python 3.10+"
    
        ```Python hl_lines="29  35"
        {!> ../../../docs_src/response_model/tutorial005_py310.py!}
        ```
    
    === "Python 3.8+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:58 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/response-model.md

    !!! tip
        ✋️ ⚫️ 👍 ⚙️ 💭 🔛, ⚙️ 💗 🎓, ↩️ 👫 🔢.
    
        👉 ↩️ 🎻 🔗 🏗 👆 📱 🗄 (& 🩺) 🔜 1️⃣ 🏁 🏷, 🚥 👆 ⚙️ `response_model_include` ⚖️ `response_model_exclude` 🚫 🔢.
    
        👉 ✔ `response_model_by_alias` 👈 👷 ➡.
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="31  37"
        {!> ../../../docs_src/response_model/tutorial005.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 16K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/query-params-str-validations.md

        ```
    
    ## Резюме
    
    Вы можете объявлять дополнительные правила валидации и метаданные для ваших параметров запроса.
    
    Общие метаданные:
    
    * `alias`
    * `title`
    * `description`
    * `deprecated`
    * `include_in_schema`
    
    Специфичные правила валидации для строк:
    
    * `min_length`
    * `max_length`
    * `regex`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 38K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/query-params-str-validations.md

        ```
    
    ## Alias parameters
    
    Imagine that you want the parameter to be `item-query`.
    
    Like in:
    
    ```
    http://127.0.0.1:8000/items/?item-query=foobaritems
    ```
    
    But `item-query` is not a valid Python variable name.
    
    The closest would be `item_query`.
    
    But you still need it to be exactly `item-query`...
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
Back to top