Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for sintaxis (0.12 sec)

  1. docs/es/docs/async.md

    # Concurrencia y async / await
    
    Detalles sobre la sintaxis `async def` para *path operation functions* y algunos antecedentes sobre el código asíncrono, la concurrencia y el paralelismo.
    
    ## ¿Con prisa?
    
    <abbr title="too long; didn't read"><strong>TL;DR:</strong></abbr>
    
    Si estás usando paquetes de terceros que te dicen que los llames con `await`, como:
    
    ```Python
    results = await some_library()
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/path-params.md

    # Parámetros de Path
    
    Puedes declarar "parámetros" o "variables" de path con la misma sintaxis que se usa en los format strings de Python:
    
    {* ../../docs_src/path_params/tutorial001.py hl[6:7] *}
    
    El valor del parámetro de path `item_id` se pasará a tu función como el argumento `item_id`.
    
    Así que, si ejecutas este ejemplo y vas a <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, verás un response de:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. docs/es/docs/index.md

    ### Resumen
    
    En resumen, declaras **una vez** los tipos de parámetros, body, etc. como parámetros de función.
    
    Lo haces con tipos estándar modernos de Python.
    
    No tienes que aprender una nueva sintaxis, los métodos o clases de un paquete específico, etc.
    
    Solo **Python** estándar.
    
    Por ejemplo, para un `int`:
    
    ```Python
    item_id: int
    ```
    
    o para un modelo `Item` más complejo:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. docs/pt/docs/async.md

    # Concorrência e async / await
    
    Detalhes sobre a sintaxe `async def` para *funções de operação de rota* e alguns conceitos de código assíncrono, concorrência e paralelismo.
    
    ## Com pressa?
    
    <abbr title="muito longo; não li"><strong>TL;DR:</strong></abbr>
    
    Se você estiver utilizando bibliotecas de terceiros que dizem para você chamar as funções com `await`, como:
    
    ```Python
    results = await some_library()
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. docs/id/docs/tutorial/path-params.md

    # Parameter Path
    
    "parameter" atau "variabel" path didefinisikan dengan sintaksis Python format string:
    
    {* ../../docs_src/path_params/tutorial001.py hl[6:7] *}
    
    Nilai parameter path `item_id` akan dikirim ke fungsi sebagai argument `item_id`:
    
    Jika anda menjalankan contoh berikut dan kunjungi <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, anda akan melihat respon:
    
    ```JSON
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. docs/fr/docs/async.md

    ## Détails techniques
    
    Les versions modernes de Python supportent le **code asynchrone** grâce aux **"coroutines"** avec les syntaxes **`async` et `await`**.
    
    Analysons les différentes parties de cette phrase dans les sections suivantes :
    
    * **Code asynchrone**
    * **`async` et `await`**
    * **Coroutines**
    
    ## Code asynchrone
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. docs/it/docs/index.md

    Ricapitolando, è sufficiente dichiarare **una sola volta** i tipi dei parametri, del body, ecc. come parametri di funzioni.
    
    Questo con le annotazioni per i tipi standard di Python.
    
    Non c'è bisogno di imparare una nuova sintassi, metodi o classi specifici a una libreria, ecc.
    
    È normalissimo **Python 3.6+**.
    
    Per esempio, per un `int`:
    
    ```Python
    item_id: int
    ```
    
    o per un modello `Item` più complesso:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  8. docs/id/docs/index.md

    ### Ringkasan
    
    Singkatnya, anda mendeklarasikan **sekali** jenis parameter, struktur, dll. sebagai parameter fungsi.
    
    Anda melakukannya dengan tipe standar moderen Python.
    
    Anda tidak perlu belajar sintaksis, metode, *classs* baru dari *library* tertentu, dll.
    
    Cukup **Python** standar.
    
    Sebagai contoh untuk `int`:
    
    ```Python
    item_id: int
    ```
    
    atau untuk model lebih rumit `Item`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. docs/az/docs/index.md

    ### Xülasə
    
    Ümumiləşdirsək, parametrlər, gövdə və s. Biz məlumat növlərini **bir dəfə** funksiya parametrləri kimi təyin edirik.
    
    Bunu standart müasir Python tipləri ilə edirsiniz.
    
    Yeni sintaksis, müəyyən bir kitabxananın metodlarını və ya siniflərini və s. öyrənmək məcburiyyətində deyilsiniz.
    
    Sadəcə standart **Python**.
    
    Məsələn, `int` üçün:
    
    ```Python
    item_id: int
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. docs/hu/docs/index.md

    ### Összefoglalás
    
    Összegzésül, deklarálod **egyszer** a paraméterek, body, stb típusát funkciós paraméterekként.
    
    Ezt standard modern Python típusokkal csinálod.
    
    Nem kell új szintaxist, vagy specifikus könyvtár mert metódósait, stb. megtanulnod.
    
    Csak standard **Python**.
    
    Például egy `int`-nek:
    
    ```Python
    item_id: int
    ```
    
    Egy komplexebb `Item` modellnek:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 20.2K bytes
    - Viewed (0)
Back to top