- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for uniqBy (0.19 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
docs/em/docs/advanced/generate-clients.md
๐ ๐ช ๐ ๐ ๐ข. โซ๏ธ โ `APIRoute` & ๐ข ๐ป. ๐ผ, ๐ฅ โซ๏ธ โ๏ธ ๐ฅ ๐ (๐ ๐ ๐ฒ โ๏ธ ๐ด 1๏ธโฃ ๐) & *โก ๐ ๏ธ* ๐ (๐ข ๐). ๐ ๐ช โคด๏ธ ๐ถโโ๏ธ ๐ ๐ ๐ข **FastAPI** `generate_unique_id_function` ๐ข: === "๐ 3๏ธโฃ.6๏ธโฃ & ๐" ```Python hl_lines="8-9 12" {!> ../../../docs_src/generate_clients/tutorial003.py!} ``` === "๐ 3๏ธโฃ.9๏ธโฃ & ๐"
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) -
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) -
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)