Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 129 for Main (0.16 sec)

  1. docs/vi/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note
        Câu lệnh `uvicorn main:app` được giải thích như sau:
    
        * `main`: tệp tin `main.py` (một Python "mô đun").
        * `app`: một object được tạo ra bên trong `main.py` với dòng `app = FastAPI()`.
        * `--reload`: làm server khởi động lại sau mỗi lần thay đổi. Chỉ sử dụng trong môi trường phát triển.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Sep 02 15:44:17 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  2. docs/de/docs/deployment/docker.md

    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Kopiere die Datei `main.py` direkt in das Verzeichnis `/code` (ohne ein Verzeichnis `./app`).
    
    2. Führe Uvicorn aus und weisen es an, das `app`-Objekt von `main` zu importieren (anstatt von `app.main` zu importieren).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:19:17 GMT 2024
    - 38.9K bytes
    - Viewed (0)
  3. docs/pt/docs/deployment/docker.md

    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Copie o arquivo `main.py` para o diretório `/code` diretamente (sem nenhum diretório `./app`).
    
    2. Execute o Uvicorn e diga a ele para importar o objeto `app` de `main` (em vez de importar de `app.main`).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  4. docs/fr/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary>À propos de la commande <code>uvicorn main:app --reload</code> ...</summary>
    
    La commande `uvicorn main:app` fait référence à :
    
    * `main` : le fichier `main.py` (le "module" Python).
    * `app` : l'objet créé à l'intérieur de `main.py` avec la ligne `app = FastAPI()`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22K bytes
    - Viewed (0)
  5. docs/az/docs/index.md

    `uvicorn main:app` əmri aşağıdakılara instinad edir:
    
    * `main`: `main.py` faylı (yəni Python "modulu").
    * `app`: `main.py` faylında `app = FastAPI()` sətrində yaratdığımız `FastAPI` obyektidir.
    * `--reload`: kod dəyişikliyindən sonra avtomatik olaraq serveri yenidən işə salır. Bu parametrdən yalnız development mərhələsində istifadə etməliyik.
    
    </details>
    
    ### İndi yoxlayaq
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  6. docs/vi/docs/index.md

    * `main`: tệp tin `main.py` (một Python "module").
    * `app`: object được tạo trong tệp tin `main.py` tại dòng `app = FastAPI()`.
    * `--reload`: chạy lại server sau khi code thay đổi. Chỉ sử dụng trong quá trình phát triển.
    
    </details>
    
    ### Kiểm tra
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

    internal
    fun Project.addSourceSet(testType: TestType): SourceSet {
        val prefix = testType.prefix
        val sourceSets = the<SourceSetContainer>()
        val main by sourceSets.getting
        return sourceSets.create("${prefix}Test") {
            compileClasspath += main.output
            runtimeClasspath += main.output
        }
    }
    
    
    internal
    fun Project.createTasks(sourceSet: SourceSet, testType: TestType) {
        val prefix = testType.prefix
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/sql-databases.md

    ## 主**FastAPI**应用程序
    
    现在在`sql_app/main.py`文件中 让我们集成和使用我们之前创建的所有其他部分。
    
    ### 创建数据库表
    
    以非常简单的方式创建数据库表:
    
    === "Python 3.9+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/sql_databases/sql_app_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/sql_databases/sql_app/main.py!}
        ```
    
    #### Alembic 注意
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27K bytes
    - Viewed (0)
  9. docs/em/docs/index.md

    * `main`: 📁 `main.py` (🐍 "🕹").
    * `app`: 🎚 ✍ 🔘 `main.py` ⏮️ ⏸ `app = FastAPI()`.
    * `--reload`: ⚒ 💽 ⏏ ⏮️ 📟 🔀. 🕴 👉 🛠️.
    
    </details>
    
    ### ✅ ⚫️
    
    📂 👆 🖥 <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a>.
    
    👆 🔜 👀 🎻 📨:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    👆 ⏪ ✍ 🛠️ 👈:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  10. docs/yo/docs/index.md

    INFO:     Application startup complete.
    ```
    
    </div>
    
    <details markdown="1">
    <summary>Nipa aṣẹ kóòdù náà <code>uvicorn main:app --reload</code>...</summary>
    
    Àṣẹ `uvicorn main:app` ń tọ́ka sí:
    
    * `main`: fáìlì náà 'main.py' (Python "module").
    * `app` jẹ object( i.e. nǹkan) tí a ṣẹ̀dá nínú `main.py` pẹ̀lú ilà `app = FastAPI()`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 24.1K bytes
    - Viewed (0)
Back to top