- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for argument (0.15 sec)
-
docs/fr/docs/tutorial/query-params-str-validations.md
Mais si vous décidez d'apprendre à les utiliser, sachez qu'ensuite vous pouvez les utiliser directement dans **FastAPI**. ## Valeurs par défaut De la même façon que vous pouvez passer `None` comme premier argument pour l'utiliser comme valeur par défaut, vous pouvez passer d'autres valeurs. Disons que vous déclarez le paramètre `q` comme ayant une longueur minimale de `3`, et une valeur par défaut étant `"fixedquery"` :
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jul 27 18:53:21 GMT 2023 - 9.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md
Так, если у вас есть объект `something` (который может _не_ быть функцией) и вы можете "вызвать" его (выполнить) как: ```Python something() ``` или ```Python something(some_argument, some_keyword_argument="foo") ``` в таком случае он является "вызываемым". ## Классы как зависимости Вы можете заметить, что для создания экземпляра класса в Python используется тот же синтаксис. Например:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jan 12 11:12:19 GMT 2024 - 16.3K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params-numeric-validations.md
Übergeben Sie der Funktion `*` als ersten Parameter.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 17:59:29 GMT 2024 - 10.2K bytes - Viewed (0) -
docs/en/docs/contributing.md
Now run the live server for the docs in Spanish: <div class="termy"> ```console // Use the command "live" and pass the language code as a CLI argument $ python ./scripts/docs.py live es <span style="color: green;">[INFO]</span> Serving on http://127.0.0.1:8008 <span style="color: green;">[INFO]</span> Start watching changes
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 17:42:43 GMT 2024 - 14.1K bytes - Viewed (0) -
docs/em/docs/contributing.md
!!! tip 👑 ("🛂") 🇪🇸 🇪🇸, 🔎 `docs/en/`. 🔜 🏃 🖖 💽 🩺 🇪🇸: <div class="termy"> ```console // Use the command "live" and pass the language code as a CLI argument $ python ./scripts/docs.py live es <span style="color: green;">[INFO]</span> Serving on http://127.0.0.1:8008 <span style="color: green;">[INFO]</span> Start watching changes
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jun 11 21:38:15 GMT 2023 - 11.4K bytes - Viewed (0) -
docs/fr/docs/tutorial/path-params.md
```Python hl_lines="6-7" {!../../../docs_src/path_params/tutorial001.py!} ``` La valeur du paramètre `item_id` sera transmise à la fonction dans l'argument `item_id`. Donc, si vous exécutez cet exemple et allez sur <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, vous verrez comme réponse : ```JSON
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params.md
```Python hl_lines="6-7" {!../../../docs_src/path_params/tutorial001.py!} ``` Der Wert des Pfad-Parameters `item_id` wird Ihrer Funktion als das Argument `item_id` übergeben. Wenn Sie dieses Beispiel ausführen und auf <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a> gehen, sehen Sie als Response: ```JSON
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:28:59 GMT 2024 - 10.3K bytes - Viewed (0) -
scripts/docs.py
@app.command() def live( lang: str = typer.Argument( None, callback=lang_callback, autocompletion=complete_existing_lang ), ) -> None: """ Serve with livereload a docs site for a specific language. This only shows the actual translated files, not the placeholders created with build-all. Takes an optional LANG argument with the name of the language to serve, by default en.
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 22 19:26:14 GMT 2024 - 10.9K bytes - Viewed (1) -
docs/de/docs/tutorial/dependencies/classes-as-dependencies.md
Wenn Sie also ein Objekt `something` haben (das möglicherweise _keine_ Funktion ist) und Sie es wie folgt aufrufen (ausführen) können: ```Python something() ``` oder ```Python something(some_argument, some_keyword_argument="foo") ``` dann ist das ein „Callable“ (ein „Aufrufbares“). ## Klassen als Abhängigkeiten
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:01:58 GMT 2024 - 12.3K bytes - Viewed (0) -
docs/de/docs/contributing.md
Führen Sie nun den Live-Server für die Dokumentation auf Spanisch aus: <div class="termy"> ```console // Verwenden Sie das Kommando „live“ und fügen Sie den Sprach-Code als Argument hinten an $ python ./scripts/docs.py live es <span style="color: green;">[INFO]</span> Serving on http://127.0.0.1:8008 <span style="color: green;">[INFO]</span> Start watching changes
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 23:55:23 GMT 2024 - 16.2K bytes - Viewed (0)