Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 264 for Wain (0.14 sec)

  1. 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 & 💬 ⚫️ 🗄 `app` 🎚 ⚪️➡️ `main` (↩️ 🏭 ⚪️➡️ `app.main`).
    
    ⤴️ 🔆 Uvicorn 📋 ⚙️ 🆕 🕹 `main` ↩️ `app.main` 🗄 FastAPI 🎚 `app`.
    
    ## 🛠️ 🔧
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 27.9K bytes
    - Viewed (0)
  2. doc/go_mem.html

    <code>q</code>'s <code>init</code> functions happens before the start of any of <code>p</code>'s.
    </p>
    
    <p class="rule">
    The completion of all <code>init</code> functions is synchronized before
    the start of the function <code>main.main</code>.
    </p>
    
    <h3 id="go">Goroutine creation</h3>
    
    <p class="rule">
    The <code>go</code> statement that starts a new goroutine
    is synchronized before the start of the goroutine's execution.
    </p>
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/settings.md

    <div class="termy">
    
    ```console
    // Here we don't set the env var yet
    $ python main.py
    
    // As we didn't set the env var, we get the default value
    
    Hello World from Python
    
    // But if we create an environment variable first
    $ export MY_NAME="Wade Wilson"
    
    // And then call the program again
    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/sql-databases-peewee.md

    ## 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 hl_lines="9-11"
    {!../../../docs_src/sql_databases_peewee/sql_app/main.py!}
    ```
    
    ### Create a dependency
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. docs/pl/docs/index.md

    * `main`: plik `main.py` ("moduł" w Pythonie).
    * `app`: obiekt stworzony w `main.py` w lini `app = FastAPI()`.
    * `--reload`: spraw by serwer resetował się po każdej zmianie w kodzie. Używaj tego tylko w środowisku deweloperskim.
    
    </details>
    
    ### Wypróbuj
    
    Otwórz link <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> w przeglądarce.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  6. docs/ru/docs/index.md

    * `main`: файл `main.py` (модуль Python).
    * `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>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  7. docs/it/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary>Informazioni sul comando <code>uvicorn main:app --reload</code>...</summary>
    
    Vediamo il comando `uvicorn main:app` in dettaglio:
    
    * `main`: il file `main.py` (il "modulo" Python).
    * `app`: l'oggetto creato dentro `main.py` con la riga di codice `app = FastAPI()`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  8. docs/em/docs/how-to/sql-databases-peewee.md

    ## 👑 **FastAPI** 📱
    
    &amp; 🔜 📁 `sql_app/main.py` ➡️ 🛠️ &amp; ⚙️ 🌐 🎏 🍕 👥 ✍ ⏭.
    
    ### ✍ 💽 🏓
    
    📶 🙃 🌌 ✍ 💽 🏓:
    
    ```Python hl_lines="9-11"
    {!../../../docs_src/sql_databases_peewee/sql_app/main.py!}
    ```
    
    ### ✍ 🔗
    
    ✍ 🔗 👈 🔜 🔗 💽 ▶️️ ▶️ 📨 &amp; 🔌 ⚫️ 🔚:
    
    ```Python hl_lines="23-29"
    {!../../../docs_src/sql_databases_peewee/sql_app/main.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  9. docs/de/docs/index.md

    INFO:     Application startup complete.
    ```
    
    </div>
    
    <details markdown="1">
    <summary>Was macht der Befehl <code>uvicorn main:app --reload</code> ...</summary>
    
    Der Befehl `uvicorn main:app` bezieht sich auf:
    
    * `main`: die Datei `main.py` (das Python-„Modul“).
    * `app`: das Objekt, das innerhalb von `main.py` mit der Zeile `app = FastAPI()` erzeugt wurde.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  10. docs/he/docs/index.md

    -   `main`: הקובץ `main.py` (מודול פייתון).
    -   `app`: האובייקט שנוצר בתוך `main.py` עם השורה <code dir="ltr">app = FastAPI()</code>.
    -   <code dir="ltr">--reload</code>: גרמו לשרת להתאתחל לאחר שינויים בקוד. עשו זאת רק בסביבת פיתוח.
    
    </details>
    
    ### בדקו אותה
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 21.2K bytes
    - Viewed (0)
Back to top