- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 125 for toXml (0.06 seconds)
-
docs/zh-hant/docs/fastapi-cli.md
`fastapi` CLI 會嘗試自動偵測要執行的 FastAPI 應用程式,預設假設它是檔案 `main.py` 中名為 `app` 的物件(或其他幾種變體)。 不過你也可以明確設定要使用的 app。 ## 在 `pyproject.toml` 中設定應用程式的 `entrypoint` { #configure-the-app-entrypoint-in-pyproject-toml } 你可以在 `pyproject.toml` 檔案中指定你的 app 位置,例如: ```toml [tool.fastapi] entrypoint = "main:app" ``` 這個 `entrypoint` 會告訴 `fastapi` 指令應該像這樣匯入 app: ```python from main import app ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 5.8K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_complex_doc/data/translated_doc.md
```python # Это пример блока кода на Python def hello_world(): # Комментарий с отступом print("Hello, world!") # Печать приветствия ``` ```toml # Это пример блока кода на TOML title = "TOML Example" # Заголовок документа ``` ```console // Используйте команду "live" и передайте код языка в качестве аргумента CLI $ 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 - 11.2K bytes - Click Count (0) -
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)