Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for Strichs (0.18 seconds)

  1. docs/de/docs/advanced/advanced-python-types.md

    Wenn Ihr Code aus irgendeinem Grund nicht `|` verwenden kann, z. B. wenn es nicht in einer Typannotation ist, sondern in etwas wie `response_model=`, können Sie anstelle des senkrechten Strichs (`|`) `Union` aus `typing` verwenden.
    
    Zum Beispiel könnten Sie deklarieren, dass etwas ein `str` oder `None` sein könnte:
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial002_an_py310.py *}
    
    ## Order the parameters as you need, tricks { #order-the-parameters-as-you-need-tricks }
    
    /// tip
    
    This is probably not as important or necessary if you use `Annotated`.
    
    ///
    
    Here's a **small trick** that can be handy, but you won't need it often.
    
    If you want to:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial002_an_py310.py *}
    
    ## Die Parameter sortieren, wie Sie möchten: Tricks { #order-the-parameters-as-you-need-tricks }
    
    /// tip | Tipp
    
    Das ist wahrscheinlich nicht so wichtig oder notwendig, wenn Sie `Annotated` verwenden.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/events.md

    Doing that in separated functions that don't share logic or variables together is more difficult as you would need to store values in global variables or similar tricks.
    
    Because of that, it's now recommended to instead use the `lifespan` as explained above.
    
    ## Technical Details { #technical-details }
    
    Just a technical detail for the curious nerds. 🤓
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial002_an_py310.py *}
    
    ## Ordonner les paramètres comme vous le souhaitez, astuces { #order-the-parameters-as-you-need-tricks }
    
    /// tip | Astuce
    
    Ce n'est probablement pas aussi important ou nécessaire si vous utilisez `Annotated`.
    
    ///
    
    Voici une **petite astuce** qui peut être pratique, mais vous n'en aurez pas souvent besoin.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial002_an_py310.py *}
    
    ## Ordene os parâmetros de acordo com sua necessidade, truques { #order-the-parameters-as-you-need-tricks }
    
    /// tip | Dica
    
    Isso provavelmente não é tão importante ou necessário se você usar `Annotated`.
    
    ///
    
    Aqui vai um pequeno truque que pode ser útil, mas você não vai precisar dele com frequência.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  7. docs/tr/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial002_an_py310.py *}
    
    ## Parametreleri İhtiyacınıza Göre Sıralayın: Küçük Hileler { #order-the-parameters-as-you-need-tricks }
    
    /// tip | İpucu
    
    `Annotated` kullanıyorsanız, bu muhtemelen o kadar önemli ya da gerekli değildir.
    
    ///
    
    İşte bazen işe yarayan **küçük bir hile**; ama çok sık ihtiyacınız olmayacak.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/path-params-numeric-validations.md

    但請記住,若使用 `Annotated`,你就不會有這個問題,因為你不是用函式參數預設值來放 `Query()` 或 `Path()`。
    
    {* ../../docs_src/path_params_numeric_validations/tutorial002_an_py310.py *}
    
    ## 依需求調整參數順序的技巧 { #order-the-parameters-as-you-need-tricks }
    
    /// tip
    
    如果你使用 `Annotated`,這點大概沒那麼重要或必要。
    
    ///
    
    這裡有個小技巧偶爾很好用,不過你大概不常需要。
    
    如果你想要:
    
    * 不用 `Query`、也不給預設值就宣告查詢參數 `q`
    * 使用 `Path` 宣告路徑參數 `item_id`
    * 讓它們的順序不同
    * 不使用 `Annotated`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial002_an_py310.py *}
    
    ## Упорядковуйте параметри, як вам потрібно: хитрощі { #order-the-parameters-as-you-need-tricks }
    
    /// tip | Порада
    
    Це, мабуть, не настільки важливо або необхідно, якщо ви використовуєте `Annotated`.
    
    ///
    
    Ось **невелика хитрість**, яка може стати в пригоді, хоча вона рідко знадобиться.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial002_an_py310.py *}
    
    ## Ordena los parámetros como necesites, trucos { #order-the-parameters-as-you-need-tricks }
    
    /// tip | Consejo
    
    Esto probablemente no es tan importante o necesario si usas `Annotated`.
    
    ///
    
    Aquí hay un **pequeño truco** que puede ser útil, pero no lo necesitarás a menudo.
    
    Si quieres:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.4K bytes
    - Click Count (0)
Back to Top