Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 179 for toml (0.02 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. scripts/tests/test_translation_fixer/test_complex_doc/data/en_doc.md

    Fixer tool will not preserve comments in these blocks.
    
    ```json
    {
        # This is a sample JSON code block
        "greeting": "Hello, world!" # Print greeting
    }
    ```
    
    ```console
    # This is a sample console code block
    $ echo "Hello, world!"  # Print greeting
    ```
    
    ```toml
    // This is a sample TOML code block
    title = "TOML Example"  // Title of the document
    ```
    
    
    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)
  4. docs/en/docs/fastapi-cli.md

    But you can configure explicitly the app to use.
    
    ## Configure the app `entrypoint` in `pyproject.toml` { #configure-the-app-entrypoint-in-pyproject-toml }
    
    You can configure where your app is located in a `pyproject.toml` file like:
    
    ```toml
    [tool.fastapi]
    entrypoint = "main:app"
    ```
    
    That `entrypoint` will tell the `fastapi` command that it should import the app like:
    
    ```python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top