Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for dice (0.15 sec)

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

    ```Python hl_lines="20"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    !!! tip
        👆 💪 🔐 💲 `"lenet"` ⏮️ `ModelName.lenet.value`.
    
    #### 📨 *🔢 👨‍🎓*
    
    👆 💪 📨 *🔢 👨‍🎓* ⚪️➡️ 👆 *➡ 🛠️*, 🐦 🎻 💪 (✅ `dict`).
    
    👫 🔜 🗜 👫 🔗 💲 (🎻 👉 💼) ⏭ 🛬 👫 👩‍💻:
    
    ```Python hl_lines="18  21  23"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    👆 👩‍💻 👆 🔜 🤚 🎻 📨 💖:
    
    ```JSON
    {
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/path-params.md

    ```Python hl_lines="20"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    !!! tip "豆知識"
        `ModelName.lenet.value` でも `"lenet"` 値にアクセスできます。
    
    #### *列挙型メンバ*の返却
    
    *path operation* から*列挙型メンバ*を返すことができます。JSONボディ(`dict` など)でネストすることもできます。
    
    それらはクライアントに返される前に適切な値 (この場合は文字列) に変換されます。
    
    ```Python hl_lines="18  21  23"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    クライアントは以下の様なJSONレスポンスを得ます:
    
    ```JSON
    {
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. docs/tr/docs/tutorial/path-params.md

    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    !!! 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:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/path-params.md

        Beachten Sie, dass die Fehlermeldung auch direkt die Stelle anzeigt, wo die Validierung nicht erfolgreich war.
    
        Das ist unglaublich hilfreich, wenn Sie Code entwickeln und debuggen, welcher mit ihrer API interagiert.
    
    ## Dokumentation
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:28:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/path-params.md

    ```
    /files/{file_path:path}
    ```
    
    En este caso el nombre del parámetro es `file_path` y la última parte, `:path`, le dice que el parámetro debería coincidir con cualquier path.
    
    Entonces lo puedes usar con:
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip "Consejo"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/path-params.md

    ```Python hl_lines="20"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    !!! tip "Dica"
    	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`).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/path-params.md

    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    !!! tip "팁"
        `ModelName.lenet.value`로도 값 `"lenet"`에 접근할 수 있습니다.
    
    #### *열거형 멤버* 반환
    
    *경로 작동*에서 *열거형 멤버*를 반환할 수 있습니다. 이는 중첩 JSON 본문(예: `dict`)내의 값으로도 가능합니다.
    
    클라이언트에 반환하기 전에 해당 값(이 경우 문자열)으로 변환됩니다:
    
    ```Python hl_lines="18  21  23"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    클라이언트는 아래의 JSON 응답을 얻습니다:
    
    ```JSON
    {
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-params.md

    ## Data validation
    
    But if you go to the browser at <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, you will see a nice HTTP error of:
    
    ```JSON
    {
      "detail": [
        {
          "type": "int_parsing",
          "loc": [
            "path",
            "item_id"
          ],
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  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!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/path-params.md

        Значение `"lenet"` также можно получить с помощью `ModelName.lenet.value`.
    
    #### Возврат *элементов перечисления*
    
    Из *операции пути* можно вернуть *элементы перечисления*, даже вложенные в тело JSON (например в `dict`).
    
    Они будут преобразованы в соответствующие значения (в данном случае - строки) перед их возвратом клиенту:
    
    ```Python hl_lines="18  21  23"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top