Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for py (0.12 sec)

  1. docs/ja/docs/tutorial/dependencies/index.md

    そして、これらの値を含む`dict`を返します。
    
    ### `Depends`のインポート
    
    ```Python hl_lines="3"
    {!../../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ### "dependant"での依存関係の宣言
    
    *path operation関数*のパラメータに`Body`や`Query`などを使用するのと同じように、新しいパラメータに`Depends`を使用することができます:
    
    ```Python hl_lines="13  18"
    {!../../../docs_src/dependencies/tutorial001.py!}
    ```
    
    関数のパラメータに`Depends`を使用するのは`Body`や`Query`などと同じですが、`Depends`の動作は少し異なります。
    
    `Depends`は1つのパラメータしか与えられません。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:08:16 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  2. docs/ko/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary><code>uvicorn main:app --reload</code> 명령에 관하여...</summary>
    
    명령 `uvicorn main:app`은 다음을 나타냅니다:
    
    * `main`: `main.py` 파일 (파이썬 "모듈").
    * `app`: the object created inside of `main.py` with the line `app = FastAPI()`.
    * `--reload`: 코드가 변경된 후 서버 재시작하기. 개발환경에서만 사용하십시오.
    
    </details>
    
    ### 확인하기
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. docs/zh-hant/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary>關於指令 <code>uvicorn main:app --reload</code>...</summary>
    
    該指令 `uvicorn main:app` 指的是:
    
    - `main`:`main.py` 檔案(一個 python 的 "模組")。
    - `app`:在 `main.py` 檔案中,使用 `app = FastAPI()` 建立的物件。
    - `--reload`:程式碼更改後會自動重新啟動,請僅在開發時使用此參數。
    
    </details>
    
    ### 檢查
    
    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)
  4. docs/ru/docs/tutorial/index.md

    ## Запустите код
    
    Все блоки кода можно копировать и использовать напрямую (на самом деле это проверенные файлы Python).
    
    Чтобы запустить любой из примеров, скопируйте код в файл `main.py` и запустите `uvicorn` с параметрами:
    
    <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: Sat Jun 24 14:47:15 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. docs/bn/docs/index.md

    </div>
    
    <details markdown="1">
    <summary>নির্দেশনা সম্পর্কে <code>uvicorn main:app --reload</code>...</summary>
    
    `uvicorn main:app` নির্দেশনাটি দ্বারা বোঝায়:
    
    - `main`: ফাইল `main.py` (পাইথন "মডিউল")।
    - `app`: `app = FastAPI()` লাইন দিয়ে `main.py` এর ভিতরে তৈরি করা অবজেক্ট।
    - `--reload`: কোড পরিবর্তনের পরে সার্ভার পুনরায় চালু করুন। এটি শুধুমাত্র ডেভেলপমেন্ট এর সময় ব্যবহার করুন।
    
    </details>
    
    ### এটা চেক করুন
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/index.md

    🔠 📄 📉 🏗 🔛 ⏮️ 🕐, ✋️ ⚫️ 🏗 🎏 ❔, 👈 👆 💪 🚶 🔗 🙆 🎯 1️⃣ ❎ 👆 🎯 🛠️ 💪.
    
    ⚫️ 🏗 👷 🔮 🔗.
    
    👆 💪 👟 🔙 &amp; 👀 ⚫️❔ ⚫️❔ 👆 💪.
    
    ## 🏃 📟
    
    🌐 📟 🍫 💪 📁 &amp; ⚙️ 🔗 (👫 🤙 💯 🐍 📁).
    
    🏃 🙆 🖼, 📁 📟 📁 `main.py`, &amp; ▶️ `uvicorn` ⏮️:
    
    <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: Sat Jun 24 14:47:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/index.md

    本教程将一步步向你展示如何使用 **FastAPI** 的绝大部分特性。
    
    各个章节的内容循序渐进,但是又围绕着单独的主题,所以你可以直接跳转到某个章节以解决你的特定需求。
    
    本教程同样可以作为将来的参考手册。
    
    你可以随时回到本教程并查阅你需要的内容。
    
    ## 运行代码
    
    所有代码片段都可以复制后直接使用(它们实际上是经过测试的 Python 文件)。
    
    要运行任何示例,请将代码复制到 `main.py` 文件中,然后使用以下命令启动 `uvicorn`:
    
    <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: Sat Jun 24 14:47:15 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/index.md

    また、将来的にリファレンスとして機能するように構築されています。
    
    従って、後でこのチュートリアルに戻ってきて必要なものを確認できます。
    
    ## コードを実行する
    
    すべてのコードブロックをコピーして直接使用できます(実際にテストされたPythonファイルです)。
    
    いずれかの例を実行するには、コードを `main.py`ファイルにコピーし、` uvicorn`を次のように起動します:
    
    <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: Sat Jun 24 14:47:15 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/dependencies/index.md

    然后,依赖项函数返回包含这些值的 `dict`。
    
    ### 导入 `Depends`
    
    ```Python hl_lines="3"
    {!../../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ### 声明依赖项
    
    与在*路径操作函数*参数中使用 `Body`、`Query` 的方式相同,声明依赖项需要使用 `Depends` 和一个新的参数:
    
    ```Python hl_lines="15  20"
    {!../../../docs_src/dependencies/tutorial001.py!}
    ```
    
    虽然,在路径操作函数的参数中使用 `Depends` 的方式与 `Body`、`Query` 相同,但 `Depends` 的工作方式略有不同。
    
    这里只能传给 Depends 一个参数。
    
    且该参数必须是可调用对象,比如函数。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 7K bytes
    - Viewed (0)
  10. docs/it/docs/index.md

    <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()`.
    * `--reload`: ricarica il server se vengono rilevati cambiamenti del codice. Usalo solo durante la fase di sviluppo.
    
    </details>
    
    ### Testa l'API
    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)
Back to top