Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 278 for Main (0.17 sec)

  1. docs/de/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3  7" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    ### Den `APIRouter` importieren
    
    Jetzt importieren wir die anderen Submodule, die `APIRouter` haben:
    
    ```Python hl_lines="4-5" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:27:59 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3  7" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    ### 🗄 `APIRouter`
    
    🔜 👥 🗄 🎏 🔁 👈 ✔️ `APIRouter`Ⓜ:
    
    ```Python hl_lines="5" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

        /** The key of the configuration. e.g. true */
        String MAIL_SEND_MOCK = "mail.send.mock";
    
        /** The key of the configuration. e.g. localhost:25 */
        String MAIL_SMTP_SERVER_MAIN_HOST_AND_PORT = "mail.smtp.server.main.host.and.port";
    
        /** The key of the configuration. e.g. [Test] */
        String MAIL_SUBJECT_TEST_PREFIX = "mail.subject.test.prefix";
    
        /** The key of the configuration. e.g. root@localhost */
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/docker.md

    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Copy the `main.py` file to the `/code` directory directly (without any `./app` directory).
    
    2. Run Uvicorn and tell it to import the `app` object from `main` (instead of importing from `app.main`).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/sql-databases.md

        `Item(**item.dict(), owner_id=user_id)`
    
    ## Main **FastAPI** app
    
    And now in the file `sql_app/main.py` let's integrate and use all the other parts we created before.
    
    ### Create the database tables
    
    In a very simplistic way create the database tables:
    
    === "Python 3.9+"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/sql_databases/sql_app_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  6. docs/tr/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note "Not"
        `uvicorn main:app` komutunu şu şekilde açıklayabiliriz:
    
        * `main`: dosya olan `main.py` (yani Python "modülü").
        * `app`: ise `main.py` dosyasının içerisinde `app = FastAPI()` satırında oluşturduğumuz `FastAPI` nesnesi.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Feb 08 13:10:55 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/bigger-applications.md

    因此,为了能够在同一个文件中使用它们,我们直接导入子模块:
    
    ```Python hl_lines="5" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    ### 包含 `users` 和 `items` 的 `APIRouter`
    
    现在,让我们来包含来自 `users` 和 `items` 子模块的 `router`。
    
    ```Python hl_lines="10-11" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  8. docs/de/docs/deployment/server-workers.md

    * `main:app`: Das ist die gleiche Syntax, die auch von Uvicorn verwendet wird. `main` bedeutet das Python-Modul mit dem Namen `main`, also eine Datei `main.py`. Und `app` ist der Name der Variable, welche die **FastAPI**-Anwendung ist.
        * Stellen Sie sich einfach vor, dass `main:app` einer Python-`import`-Anweisung wie der folgenden entspricht:
    
            ```Python
            from main import app
            ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:19:25 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note "Nota"
        El comando `uvicorn main:app` se refiere a:
    
        * `main`: el archivo `main.py` (el "módulo" de Python).
        * `app`: el objeto creado dentro de `main.py` con la línea `app = FastAPI()`.
        * `--reload`: hace que el servidor se reinicie cada vez que cambia el código. Úsalo únicamente para desarrollo.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                        }
                    """
                )
                withDirectory("v1/src/main").v1()
                withDirectory("v2/src/main").v2()
                val sourceRoots = if (File(withDirectory("v2/src/main"), "java").exists()) {
                    "v2/src/main/java"
                } else {
                    "v2/src/main/kotlin"
                }
                withDirectory("binary-compatibility").apply {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
Back to top