Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 159 for marama (6.13 sec)

  1. docs/es/docs/tutorial/cookie-params.md

    === "Python 3.10+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/cookie_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/cookie_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/cookie_params/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 19:30:26 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/path-params.md

    ```Python hl_lines="6  11"
    {!../../../docs_src/path_params/tutorial003.py!}
    ```
    
    Otherwise, the path for `/users/{user_id}` would match also for `/users/me`, "thinking" that it's receiving a parameter `user_id` with a value of `"me"`.
    
    Similarly, you cannot redefine a path operation:
    
    ```Python hl_lines="6  11"
    {!../../../docs_src/path_params/tutorial003b.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/path-params.md

    
    ```Python hl_lines="6  11"
    {!../../../docs_src/path_params/tutorial003.py!}
    ```
    
    Иначе путь для `/users/{user_id}` также будет соответствовать `/users/me`, "подразумевая", что он получает параметр `user_id` со значением `"me"`.
    
    Аналогично, вы не можете переопределить операцию с путем:
    
    ```Python hl_lines="6  11"
    {!../../../docs_src/path_params/tutorial003b.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/path-params.md

    ```Python hl_lines="16"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### 查看文档
    
     API 文档会显示预定义*路径参数*的可用值:
    
    <img src="/img/tutorial/path-params/image03.png">
    
    ### 使用 Python _枚举类型_
    
    *路径参数*的值是枚举的元素。
    
    #### 比较*枚举元素*
    
    枚举类 `ModelName` 中的*枚举元素*支持比较操作:
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### 获取*枚举值*
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 01 05:35:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/path-params.md

    ```Python hl_lines="16"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### Documentation
    
    Les valeurs disponibles pour le *paramètre de chemin* sont bien prédéfinies, la documentation les affiche correctement :
    
    <img src="/img/tutorial/path-params/image03.png">
    
    ### Manipuler les *énumérations* Python
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. fastapi/param_functions.py

    from typing import Any, Callable, Dict, List, Optional, Sequence, Union
    
    from fastapi import params
    from fastapi._compat import Undefined
    from fastapi.openapi.models import Example
    from typing_extensions import Annotated, Doc, deprecated
    
    _Unset: Any = Undefined
    
    
    def Path(  # noqa: N802
        default: Annotated[
            Any,
            Doc(
                """
                Default value if the parameter field is not set.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/query-params-str-validations.md

        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params_str_validations/tutorial011.py!}
        ```
    
    === "🐍 3️⃣.9️⃣ &amp; 🔛"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params_str_validations/tutorial011_py39.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params_str_validations/tutorial011_py310.py!}
        ```
    
    ⤴️, ⏮️ 📛 💖:
    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)
  8. docs/fr/docs/tutorial/query-params-str-validations.md

    ```Python hl_lines="3"
    {!../../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    ## Utiliser `Query` comme valeur par défaut
    
    Construisez ensuite la valeur par défaut de votre paramètre avec `Query`, en choisissant 50 comme `max_length` :
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    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)
  9. docs/em/docs/tutorial/path-params-numeric-validations.md

    ## 🗄 ➡
    
    🥇, 🗄 `Path` ⚪️➡️ `fastapi`:
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_py310.py!}
        ```
    
    ## 📣 🗃
    
    👆 💪 📣 🌐 🎏 🔢 `Query`.
    
    🖼, 📣 `title` 🗃 💲 ➡ 🔢 `item_id` 👆 💪 🆎:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/query-params-str-validations.md

    ### `Query`のインポート
    
    そのために、まずは`fastapi`から`Query`をインポートします:
    
    ```Python hl_lines="3"
    {!../../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    ## デフォルト値として`Query`を使用
    
    パラメータのデフォルト値として使用し、パラメータ`max_length`を50に設定します:
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    デフォルト値`None`を`Query(default=None)`に置き換える必要があるので、`Query`の最初の引数はデフォルト値を定義するのと同じです。
    
    なので:
    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)
Back to top