Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for Main (0.13 sec)

  1. docs/zh-hant/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>。
    
    你將會看到以下的 JSON 回應:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    你已經建立了一個具有以下功能的 API:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/index.md

    Todos os blocos de código podem ser copiados e utilizados diretamente (eles são, na verdade, arquivos Python testados).
    
    Para rodar qualquer um dos exemplos, copie o codigo para um arquivo `main.py`, e inicie o `uvivorn` com:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. docs/zh/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>。
    
    你将会看到如下 JSON 响应:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    你已经创建了一个具有以下功能的 API:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/index.md

    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:single">main.py</u>
    <font color="#3465A4">INFO    </font> Using path <font color="#3465A4">main.py</font>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. docs/fa/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> را در مرورگر خود باز کنید.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 25.9K bytes
    - Viewed (0)
Back to top