Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 175 for entrypoint (0.16 seconds)

  1. dockerscripts/docker-entrypoint.sh

    Harshavardhana <******@****.***> 1699046298 -0700
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Nov 03 21:18:18 GMT 2023
    - 675 bytes
    - Click Count (0)
  2. docs/ja/docs/fastapi-cli.md

    ただし、使用するアプリを明示的に設定することもできます。
    
    ## `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)
  3. 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
    ```
    
    如果你的代码结构如下:
    
    ```
    .
    ├── backend
    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)
  4. docs/ko/docs/fastapi-cli.md

    하지만 사용할 앱을 명시적으로 구성할 수도 있습니다.
    
    ## `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)
  5. 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)
  6. 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
    from main import app
    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)
  7. 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
    ```
    
    如果你的程式碼結構是這樣:
    
    ```
    .
    ├── backend
    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)
  8. docs/zh-hant/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` 指令應該用下面的方式匯入 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)
  9. 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"
    ```
    
    Bu `entrypoint`, `fastapi` komutuna uygulamayı şu şekilde import etmesi gerektiğini söyler:
    
    ```python
    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)
  10. docs/en/docs/tutorial/first-steps.md

    ### 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
    - 13.4K bytes
    - Click Count (0)
Back to Top