Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 123 for toml (0.04 seconds)

  1. pyproject.toml

        "pygithub >=2.8.1",
    ]
    
    [tool.pdm]
    version = { source = "file", path = "fastapi/__init__.py" }
    distribution = true
    
    [tool.pdm.build]
    source-includes = [
        "tests/",
        "docs_src/",
        "scripts/",
        # For a test
        "docs/en/docs/img/favicon.png",
    ]
    
    [tool.mypy]
    plugins = ["pydantic.mypy"]
    strict = true
    
    [[tool.mypy.overrides]]
    module = "fastapi.concurrency"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  2. gradle/libs.versions.toml

    renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 1774994508 +0100
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 31 22:01:48 GMT 2026
    - 12K bytes
    - Click Count (0)
  3. 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)
  4. docs/ja/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` コマンドは次のようにアプリを import する必要があると認識します:
    
    ```python
    from main import app
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  5. 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)
  6. docs/ko/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 14:06:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/first-steps.md

    API와 통신하는 클라이언트(프론트엔드, 모바일, IoT 애플리케이션 등)를 위해 코드를 자동으로 생성하는 데도 사용할 수 있습니다.
    
    ### `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 14:06:26 GMT 2026
    - 15K bytes
    - Click Count (0)
  8. docs/tr/docs/tutorial/first-steps.md

    ### `pyproject.toml` içinde uygulama `entrypoint`'ını yapılandırın { #configure-the-app-entrypoint-in-pyproject-toml }
    
    Uygulamanızın nerede bulunduğunu `pyproject.toml` dosyasında şöyle 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
    - 14.4K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/first-steps.md

    而且有許多替代方案,所有這些都是基於 OpenAPI。你可以輕鬆地將任何這些替代方案添加到使用 **FastAPI** 建置的應用程式中。
    
    你也可以用它自動生成程式碼,讓用戶端與你的 API 通訊。例如前端、手機或物聯網(IoT)應用程式。
    
    ### 在 `pyproject.toml` 設定應用的 `entrypoint` { #configure-the-app-entrypoint-in-pyproject-toml }
    
    你可以在 `pyproject.toml` 中設定你的應用位置,例如:
    
    ```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
    - 13.3K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/first-steps.md

    ### Den App-`entrypoint` in `pyproject.toml` konfigurieren { #configure-the-app-entrypoint-in-pyproject-toml }
    
    Sie können in einer `pyproject.toml`-Datei konfigurieren, wo sich Ihre App befindet, z. B.:
    
    ```toml
    [tool.fastapi]
    entrypoint = "main:app"
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 14.9K bytes
    - Click Count (0)
Back to Top