- Sort Score
- Result 10 results
- Languages All
Results 21 - 28 of 28 for admin_email (0.11 sec)
-
docs_src/settings/app03/config.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 204 bytes - Viewed (0) -
docs/pt/docs/advanced/settings.md
### Executando o servidor No próximo passo, você pode inicializar o servidor passando as configurações em forma de variáveis de ambiente, por exemplo, você poderia definir `ADMIN_EMAIL` e `APP_NAME` da seguinte forma: <div class="termy"> ```console $ ADMIN_EMAIL="******@****.***" APP_NAME="ChimichangApp" fastapi run main.py <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 17K bytes - Viewed (0) -
docs_src/settings/app02_an/config.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 159 bytes - Viewed (0) -
docs_src/settings/app02_an_py39/config.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 159 bytes - Viewed (0) -
docs_src/settings/app03_an/config_pv1.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 195 bytes - Viewed (0) -
tests/test_tutorial/test_settings/test_app02.py
from pytest import MonkeyPatch from ...utils import needs_pydanticv2 @needs_pydanticv2 def test_settings(monkeypatch: MonkeyPatch): from docs_src.settings.app02 import main monkeypatch.setenv("ADMIN_EMAIL", "******@****.***") settings = main.get_settings() assert settings.app_name == "Awesome API" assert settings.items_per_user == 50 @needs_pydanticv2 def test_override_settings():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 488 bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
{!../../docs_src/settings/tutorial001.py!} ``` ### Run the server Next, you would run the server passing the configurations as environment variables, for example you could set an `ADMIN_EMAIL` and `APP_NAME` with: <div class="termy"> ```console $ ADMIN_EMAIL="******@****.***" APP_NAME="ChimichangApp" fastapi run main.py <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12.9K bytes - Viewed (0) -
docs/zh/docs/advanced/settings.md
然后,您可以在应用程序中使用新的 `settings` 对象: ```Python hl_lines="18-20" {!../../docs_src/settings/tutorial001.py!} ``` ### 运行服务器 接下来,您将运行服务器,并将配置作为环境变量传递。例如,您可以设置一个 `ADMIN_EMAIL` 和 `APP_NAME`,如下所示: <div class="termy"> ```console $ ADMIN_EMAIL="******@****.***" APP_NAME="ChimichangApp"uvicorn main:app <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.8K bytes - Viewed (0)