- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 164 for tomu (0.02 seconds)
-
docs/zh/docs/fastapi-cli.md
`fastapi` CLI 会尝试自动检测要运行的 FastAPI 应用,默认假设它是文件 `main.py` 中名为 `app` 的对象(或少数其他变体)。 但你也可以显式配置要使用的应用。 ## 在 `pyproject.toml` 中配置应用的 `entrypoint` { #configure-the-app-entrypoint-in-pyproject-toml } 你可以在 `pyproject.toml` 文件中配置应用的位置,例如: ```toml [tool.fastapi] entrypoint = "main:app" ``` 这个 `entrypoint` 会告诉 `fastapi` 命令按如下方式导入应用: ```python from main import app ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.8K bytes - Click Count (0) -
docs/es/docs/fastapi-cli.md
Pero puedes configurar explícitamente la app a usar. ## Configura el `entrypoint` de la app en `pyproject.toml` { #configure-the-app-entrypoint-in-pyproject-toml } Puedes configurar dónde está tu app en un archivo `pyproject.toml` así: ```toml [tool.fastapi] entrypoint = "main:app" ``` Ese `entrypoint` le dirá al comando `fastapi` que debe importar la app así: ```pythonCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 6.1K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_complex_doc/data/en_doc.md
```python # This is a sample Python code block def hello_world(): # Comment with indentation print("Hello, world!") # Print greeting ``` ```toml # This is a sample TOML code block title = "TOML Example" # Title of the document ``` ```console // Use the command "live" and pass the language code as a CLI argument $ python ./scripts/docs.py live es
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 08:08:04 GMT 2026 - 7.6K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_mermaid_not_translated.md
Some text ```python # This is a sample Python code block def hello_world(): # Comment with indentation print("Hello, world!") # Print greeting ``` Some more text ```toml # This is a sample TOML code block title = "TOML Example" # Title of the document ``` And more text ```console // Use the command "live" and pass the language code as a CLI argument $ python ./scripts/docs.py live es
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 883 bytes - Click Count (0) -
docs/tr/docs/fastapi-cli.md
Ancak, kullanılacak app'i açıkça yapılandırabilirsiniz. ## Uygulama `entrypoint`'ini `pyproject.toml` İçinde Yapılandırma { #configure-the-app-entrypoint-in-pyproject-toml } Uygulamanızın nerede olduğunu aşağıdaki gibi bir `pyproject.toml` dosyasında yapılandırabilirsiniz: ```toml [tool.fastapi] entrypoint = "main:app" ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 6.3K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_code_blocks/data/en_doc.md
Some text ```python # This is a sample Python code block def hello_world(): # Comment with indentation print("Hello, world!") # Print greeting ``` Some more text ```toml # This is a sample TOML code block title = "TOML Example" # Title of the document ``` And more text ```console // Use the command "live" and pass the language code as a CLI argument $ python ./scripts/docs.py live es
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 874 bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_number_gt.md
Some text ```python # This is a sample Python code block def hello_world(): # Comment with indentation print("Hello, world!") # Print greeting ``` Some more text ```toml # This is a sample TOML code block title = "TOML Example" # Title of the document ``` Extra code block ``` $ cd my_project ``` And more text ```console
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 926 bytes - Click Count (0) -
.github/workflows/test.yml
src: - .github/workflows/test.yml - docs_src/** - fastapi/** - scripts/** - tests/** - .python-version - pyproject.toml - uv.lock test: needs: - changes if: needs.changes.outputs.src == 'true' || github.ref == 'refs/heads/master' strategy: matrix:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 12:36:49 GMT 2026 - 6.4K bytes - Click Count (0) -
docs/ru/docs/fastapi-cli.md
Но вы можете явно указать, какое приложение использовать. ## Настройте `entrypoint` приложения в `pyproject.toml` { #configure-the-app-entrypoint-in-pyproject-toml } Вы можете настроить, где находится ваше приложение, в файле `pyproject.toml`, например так: ```toml [tool.fastapi] entrypoint = "main:app" ``` Этот `entrypoint` сообщит команде `fastapi`, что приложение нужно импортировать так:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 8.2K bytes - Click Count (0) -
docs/fr/docs/fastapi-cli.md
Mais vous pouvez configurer explicitement l’application à utiliser. ## Configurer le `entrypoint` de l’application dans `pyproject.toml` { #configure-the-app-entrypoint-in-pyproject-toml } Vous pouvez configurer l’endroit où se trouve votre application dans un fichier `pyproject.toml` comme suit : ```toml [tool.fastapi] entrypoint = "main:app" ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 6.4K bytes - Click Count (0)