Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Dearing (2.38 sec)

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

        <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">Enumerations (もしくは、enums)はPython 3.4以降で利用できます</a>。
    
    !!! tip "豆知識"
        "AlexNet"、"ResNet"そして"LeNet"は機械学習<abbr title="Technically, Deep Learning model architectures">モデル</abbr>の名前です。
    
    ### *パスパラメータ*の宣言
    
    次に、作成したenumクラスである`ModelName`を使用した型アノテーションをもつ*パスパラメータ*を作成します:
    
    ```Python hl_lines="16"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. docs/tr/docs/tutorial/path-params.md

    ```Python hl_lines="18  21  23"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    İstemci tarafında şuna benzer bir JSON yanıtı ile karşılaşırsınız:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## Yol İçeren Yol Parametreleri
    
    Farz edelim ki elinizde `/files/{file_path}` isminde bir *yol operasyonu* var.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/path-params.md

    !!! info
        <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">🔢 (⚖️ 🔢) 💪 🐍</a> ↩️ ⏬ 3️⃣.4️⃣.
    
    !!! tip
        🚥 👆 💭, "📊", "🎓", &amp; "🍏" 📛 🎰 🏫 <abbr title="Technically, Deep Learning model architectures">🏷</abbr>.
    
    ### 📣 *➡ 🔢*
    
    ⤴️ ✍ *➡ 🔢* ⏮️ 🆎 ✍ ⚙️ 🔢 🎓 👆 ✍ (`ModelName`):
    
    ```Python hl_lines="16"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### ✅ 🩺
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-params.md

    !!! tip
        If you are wondering, "AlexNet", "ResNet", and "LeNet" are just names of Machine Learning <abbr title="Technically, Deep Learning model architectures">models</abbr>.
    
    ### Declare a *path parameter*
    
    Then create a *path parameter* with a type annotation using the enum class you created (`ModelName`):
    
    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)
  5. docs/fr/docs/tutorial/path-params.md

    !!! tip "Astuce"
        Pour ceux qui se demandent, "AlexNet", "ResNet", et "LeNet" sont juste des noms de <abbr title="Techniquement, des architectures de modèles">modèles</abbr> de Machine Learning.
    
    ### Déclarer un paramètre de chemin
    
    Créez ensuite un *paramètre de chemin* avec une annotation de type désignant l'énumération créée précédemment (`ModelName`) :
    
    ```Python hl_lines="16"
    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. docs/ru/docs/tutorial/path-params.md

    ```Python hl_lines="18  21  23"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    Вы отправите клиенту такой JSON-ответ:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## Path-параметры, содержащие пути
    
    Предположим, что есть *операция пути* с путем `/files/{file_path}`.
    
    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)
  7. docs/zh/docs/tutorial/path-params.md

    返回给客户端之前,要把枚举元素转换为对应的值(本例中为字符串):
    
    ```Python hl_lines="18  21  23"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    客户端中的 JSON 响应如下:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## 包含路径的路径参数
    
    假设*路径操作*的路径为 `/files/{file_path}`。
    
    但需要 `file_path` 中也包含*路径*,比如,`home/johndoe/myfile.txt`。
    
    此时,该文件的 URL 是这样的:`/files/home/johndoe/myfile.txt`。
    
    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)
Back to top