Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 700 for MAIN (0.07 sec)

  1. docs/ru/docs/fastapi-cli.md

       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with the
                 following code:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:49:43 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. docs/em/docs/deployment/server-workers.md

    ```
    
    </div>
    
    ➡️ 👀 ⚫️❔ 🔠 👈 🎛 ⛓:
    
    * `main:app`: 👉 🎏 ❕ ⚙️ Uvicorn, `main` ⛓ 🐍 🕹 📛 "`main`",, 📁 `main.py`. &amp; `app` 📛 🔢 👈 **FastAPI** 🈸.
        * 👆 💪 🌈 👈 `main:app` 🌓 🐍 `import` 📄 💖:
    
            ```Python
            from main import app
            ```
    
        * , ❤ `main:app` 🔜 🌓 🐍 `import` 🍕 `from main import app`.
    * `--workers`: 🔢 👨‍🏭 🛠️ ⚙️, 🔠 🔜 🏃 Uvicorn 👨‍🏭, 👉 💼, 4️⃣ 👨‍🏭.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. docs/uk/docs/fastapi-cli.md

    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    <font color="#3465A4">INFO    </font> Resolved absolute path <font color="#75507B">/home/user/code/awesomeapp/</font><font color="#AD7FA8">main.py</font>
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 17 21:33:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. docs/bn/docs/environment-variables.md

    <div class="termy">
    
    ```console
    // এখনো আমরা এনভায়রনমেন্ট ভেরিয়েবল সেট করিনি
    $ python main.py
    
    // যেহেতু env var সেট করা হয়নি, তাই আমরা ডিফল্ট ভ্যালু পাচ্ছি
    
    Hello World from Python
    
    // কিন্তু আমরা প্রথমে যদি একটা এনভায়রনমেন্ট ভারিয়েবল তৈরি করে নেই
    $ export MY_NAME="Wade Wilson"
    
    // এবং তারপর আবার প্রোগ্রাটিকে কল করি
    $ python main.py
    
    // এখন এটি এনভায়রনমেন্ট ভেরিয়েবল রিড করতে পারবে
    
    Hello Wade Wilson from Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jun 05 08:15:56 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  5. docs/es/docs/environment-variables.md

    <div class="termy">
    
    ```console
    // Aquí todavía no configuramos la env var
    $ python main.py
    
    // Como no configuramos la env var, obtenemos el valor por defecto
    
    Hello World from Python
    
    // Pero si creamos una variable de entorno primero
    $ export MY_NAME="Wade Wilson"
    
    // Y luego llamamos al programa nuevamente
    $ python main.py
    
    // Ahora puede leer la variable de entorno
    
    Hello Wade Wilson from Python
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/settings.md

    <div class="termy">
    
    ```console
    // Aqui ainda não definimos a env var
    $ python main.py
    
    // Por isso obtemos o valor padrão
    
    Hello World from Python
    
    // Mas se definirmos uma variável de ambiente primeiro
    $ export MY_NAME="Wade Wilson"
    
    // E executarmos o programa novamente
    $ python main.py
    
    // Agora ele pode ler a variável de ambiente
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Jan 15 20:17:23 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/index.md

    All the code blocks can be copied and used directly (they are actually tested Python files).
    
    To run any of the examples, copy the code to a file `main.py`, and start `fastapi dev` with:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/main/webapp/css/admin/adminlte.min.css.map

    1.93725rem;\n  padding: 0.35rem 1rem;\n}\n\n.text-sm .main-header .nav-link > .fa,\n.text-sm .main-header .nav-link > .fas,\n.text-sm .main-header .nav-link > .far,\n.text-sm .main-header .nav-link > .fab,\n.text-sm .main-header .nav-link > .fal,\n.text-sm .main-header .nav-link > .fad,\n.text-sm .main-header .nav-link > .svg-inline--fa,\n.text-sm .main-header .nav-link > .ion, .main-header.text-sm .nav-link > .fa,\n.main-header.text-sm .nav-link > .fas,\n.main-header.text-sm .nav-link > .far,\n.main-header.text-sm...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 3.7M bytes
    - Viewed (3)
  9. docs/em/docs/deployment/docker.md

    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1️⃣. 📁 `main.py` 📁 `/code` 📁 🔗 (🍵 🙆 `./app` 📁).
    
    2️⃣. 🏃 Uvicorn &amp; 💬 ⚫️ 🗄 `app` 🎚 ⚪️➡️ `main` (↩️ 🏭 ⚪️➡️ `app.main`).
    
    ⤴️ 🔆 Uvicorn 📋 ⚙️ 🆕 🕹 `main` ↩️ `app.main` 🗄 FastAPI 🎚 `app`.
    
    ## 🛠️ 🔧
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    The file `main.py` would have:
    
    {* ../../docs_src/async_tests/main.py *}
    
    The file `test_main.py` would have the tests for `main.py`, it could look like this now:
    
    {* ../../docs_src/async_tests/test_main.py *}
    
    ## Run it { #run-it }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top