- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 793 for py$ (1.14 sec)
-
docs/de/docs/advanced/settings.md
Sie könnten beispielsweise eine Datei `config.py` haben mit: {* ../../docs_src/settings/app01/config.py *} Und dann verwenden Sie diese in einer Datei `main.py`: {* ../../docs_src/settings/app01/main.py hl[3,11:13] *} /// tip | Tipp
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 16.4K bytes - Viewed (0) -
docs/fr/docs/tutorial/debugging.md
{* ../../docs_src/debugging/tutorial001.py hl[1,15] *} ### À propos de `__name__ == "__main__"` Le but principal de `__name__ == "__main__"` est d'avoir du code qui est exécuté lorsque votre fichier est appelé avec : <div class="termy"> ```console $ python myapp.py ``` </div> mais qui n'est pas appelé lorsqu'un autre fichier l'importe, comme dans :
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Oct 27 17:31:14 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/sql-databases.md
{* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[48:55] hl[51:52,54] *} ### Чтение данных отдельного героя Мы можем прочитать данные отдельного героя (`Hero`). {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[58:63] hl[60] *} ### Удаление данных героя Мы также можем удалить героя `Hero` из базы данных. {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[66:73] hl[71] *} ### Запуск приложения
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 17 21:20:20 UTC 2024 - 25.7K bytes - Viewed (0) -
docs/pt/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` O arquivo `main.py` teria: {* ../../docs_src/async_tests/main.py *} O arquivo `test_main.py` teria os testes para para o arquivo `main.py`, ele poderia ficar assim: {* ../../docs_src/async_tests/test_main.py *} ## Executá-lo Você pode executar os seus testes normalmente via:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/zh/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` 文件 `main.py` 将包含: {* ../../docs_src/async_tests/main.py *} 文件 `test_main.py` 将包含针对 `main.py` 的测试,现在它可能看起来如下: {* ../../docs_src/async_tests/test_main.py *} ## 运行测试 您可以通过以下方式照常运行测试: <div class="termy"> ```console $ pytest ---> 100%
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 17 21:49:06 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/en/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` The file `main.py` would have: {* ../../docs_src/async_tests/main.py *} The file `test_main.py` would have the tests for `main.py`, it could look like this now: {* ../../docs_src/async_tests/test_main.py *} ## Run it { #run-it } You can run your tests as usual via:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.9K bytes - Viewed (0) -
docs/de/docs/advanced/async-tests.md
``` . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` Die Datei `main.py` hätte als Inhalt: {* ../../docs_src/async_tests/main.py *} Die Datei `test_main.py` hätte die Tests für `main.py`, das könnte jetzt so aussehen: {* ../../docs_src/async_tests/test_main.py *} ## Es ausführen Sie können Ihre Tests wie gewohnt ausführen mit:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (1) -
docs/ru/docs/tutorial/first-steps.md
# Первые шаги Самый простой FastAPI файл может выглядеть так: {* ../../docs_src/first_steps/tutorial001.py *} Скопируйте в файл `main.py`. Запустите сервер в режиме реального времени: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) <span style="color: green;">INFO</span>: Started reloader process [28720]
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 12.9K bytes - Viewed (0) -
docs/fr/docs/tutorial/query-params-str-validations.md
Pour cela, importez d'abord `Query` depuis `fastapi` : {* ../../docs_src/query_params_str_validations/tutorial002.py hl[3] *} ## Utiliser `Query` comme valeur par défaut Construisez ensuite la valeur par défaut de votre paramètre avec `Query`, en choisissant 50 comme `max_length` : {* ../../docs_src/query_params_str_validations/tutorial002.py hl[9] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/ru/docs/python-types.md
{* ../../docs_src/python_types/tutorial003.py hl[1] *} Поскольку редактор знает типы переменных, вы получаете не только дополнение, но и проверки ошибок: <img src="/img/python-types/image04.png"> Теперь вы знаете, что вам нужно исправить, преобразовав `age` в строку с `str(age)`: {* ../../docs_src/python_types/tutorial004.py hl[2] *} ## Объявление типов
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 14.3K bytes - Viewed (0)