Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for uniqBy (0.16 sec)

  1. docs/en/docs/advanced/generate-clients.md

    In this case you will have to ensure that each operation ID is **unique** in some other way.
    
    For example, you could make sure that each *path operation* has a tag, and then generate the operation ID based on the **tag** and the *path operation* **name** (the function name).
    
    ### Custom Generate Unique ID Function
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. docs/fr/docs/async.md

    Pour un exemple plus courant dans la "vie rรฉelle", imaginez une banque.
    
    Jusqu'ร  rรฉcemment, la plupart des banques avaient plusieurs caisses (et banquiers) ๐Ÿ‘จโ€๐Ÿ’ผ๐Ÿ‘จโ€๐Ÿ’ผ๐Ÿ‘จโ€๐Ÿ’ผ๐Ÿ‘จโ€๐Ÿ’ผ et une unique file d'attente ๐Ÿ•™๐Ÿ•™๐Ÿ•™๐Ÿ•™๐Ÿ•™๐Ÿ•™๐Ÿ•™๐Ÿ•™.
    
    Tous les banquiers faisaient l'intรฉgralitรฉ du travail avec chaque client avant de passer au suivant ๐Ÿ‘จโ€๐Ÿ’ผโฏ.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/oauth2-jwt.md

    The important thing to keep in mind is that the `sub` key should have a unique identifier across the entire application, and it should be a string.
    
    ## Check it
    
    Run the server and go to the docs: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    ## 0.75.0
    
    ### Features
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  5. docs/en/docs/tutorial/body-nested-models.md

        {!> ../../../docs_src/body_nested_models/tutorial002.py!}
        ```
    
    ## Set types
    
    But then we think about it, and realize that tags shouldn't repeat, they would probably be unique strings.
    
    And Python has a special data type for sets of unique items, the `set`.
    
    Then we can declare `tags` as a set of strings:
    
    === "Python 3.10+"
    
        ```Python hl_lines="12"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/body-nested-models.md

    ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ ์˜ˆ์ œ์—์„œ `tags`๋ฅผ ๊ตฌ์ฒด์ ์œผ๋กœ "๋ฌธ์ž์—ด์˜ ๋ฆฌ์ŠคํŠธ"๋กœ ๋งŒ๋“ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    ```Python hl_lines="14"
    {!../../../docs_src/body_nested_models/tutorial002.py!}
    ```
    
    ## ์ง‘ํ•ฉ ํƒ€์ž…
    
    ๊ทธ๋Ÿฐ๋ฐ ์ƒ๊ฐํ•ด๋ณด๋‹ˆ ํƒœ๊ทธ๋Š” ๋ฐ˜๋ณต๋˜๋ฉด ์•ˆ ๋ผ๊ณ , ๊ณ ์œ ํ•œ(Unique) ๋ฌธ์ž์—ด์ด์–ด์•ผ ํ•  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.
    
    ๊ทธ๋ฆฌ๊ณ  ํŒŒ์ด์ฌ์€ ์ง‘ํ•ฉ์„ ์œ„ํ•œ ํŠน๋ณ„ํ•œ ๋ฐ์ดํ„ฐ ํƒ€์ž… `set`์ด ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ๊ทธ๋ ‡๋‹ค๋ฉด `Set`์„ ์ž„ํฌํŠธ ํ•˜๊ณ  `tags`๋ฅผ `str`์˜ `set`์œผ๋กœ ์„ ์–ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    ```Python hl_lines="1  14"
    {!../../../docs_src/body_nested_models/tutorial003.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/generate-clients.md

    Hier verwendet sie beispielsweise den ersten Tag (Sie werden wahrscheinlich nur einen Tag haben) und den Namen der *Pfadoperation* (den Funktionsnamen).
    
    AnschlieรŸend kรถnnen Sie diese benutzerdefinierte Funktion als Parameter `generate_unique_id_function` an **FastAPI** รผbergeben:
    
    === "Python 3.9+"
    
        ```Python hl_lines="6-7  10"
        {!> ../../../docs_src/generate_clients/tutorial003_py39.py!}
        ```
    
    === "Python 3.8+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/generate-clients.md

    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ›ƒ ๐Ÿ‘ˆ ๐Ÿ”ข. โšซ๏ธ โœŠ `APIRoute` &amp; ๐Ÿ”ข ๐ŸŽป.
    
    ๐Ÿ–ผ, ๐Ÿ“ฅ โšซ๏ธ โš™๏ธ ๐Ÿฅ‡ ๐Ÿ”– (๐Ÿ‘† ๐Ÿ”œ ๐ŸŽฒ โœ”๏ธ ๐Ÿ•ด 1๏ธโƒฃ ๐Ÿ”–) &amp; *โžก ๐Ÿ› ๏ธ* ๐Ÿ“› (๐Ÿ”ข ๐Ÿ“›).
    
    ๐Ÿ‘† ๐Ÿ’ช โคด๏ธ ๐Ÿšถโ€โ™€๏ธ ๐Ÿ‘ˆ ๐Ÿ›ƒ ๐Ÿ”ข **FastAPI** `generate_unique_id_function` ๐Ÿ”ข:
    
    === "๐Ÿ 3๏ธโƒฃ.6๏ธโƒฃ &amp; ๐Ÿ”›"
    
        ```Python hl_lines="8-9  12"
        {!> ../../../docs_src/generate_clients/tutorial003.py!}
        ```
    
    === "๐Ÿ 3๏ธโƒฃ.9๏ธโƒฃ &amp; ๐Ÿ”›"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/extra-data-types.md

    * Data validation.
    * Automatic annotation and documentation.
    
    ## Other data types
    
    Here are some of the additional data types you can use:
    
    * `UUID`:
        * A standard "Universally Unique Identifier", common as an ID in many databases and systems.
        * In requests and responses will be represented as a `str`.
    * `datetime.datetime`:
        * A Python `datetime.datetime`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Vous devez vous assurer qu'il est unique pour chaque opรฉration.
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial001.py!}
    ```
    
    ### Utilisation du nom *path operation function* comme operationId
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top