Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 873 for Pythona (0.07 sec)

  1. docs/em/docs/tutorial/background-tasks.md

    👉 💼, 📋 🔢 🔜 ✍ 📁 (⚖ 📨 📧).
    
    & ✍ 🛠️ 🚫 ⚙️ `async` & `await`, 👥 🔬 🔢 ⏮️ 😐 `def`:
    
    ```Python hl_lines="6-9"
    {!../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    ## 🚮 🖥 📋
    
    🔘 👆 *➡ 🛠️ 🔢*, 🚶‍♀️ 👆 📋 🔢 *🖥 📋* 🎚 ⏮️ 👩‍🔬 `.add_task()`:
    
    ```Python hl_lines="14"
    {!../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` 📨 ❌:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. docs/ja/docs/features.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### 現代的なPython
    
    FastAPIの機能はすべて、標準のPython 3.8型宣言に基づいています(Pydanticの功績)。新しい構文はありません。ただの現代的な標準のPythonです。
    
    (FastAPIを使用しない場合でも)Pythonの型の使用方法について簡単な復習が必要な場合は、短いチュートリアル([Python Types](python-types.md){.internal-link target=_blank})を参照してください。
    
    型を使用した標準的なPythonを記述します:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/events.md

    ### 🔆 🔢
    
    🥇 👜 👀, 👈 👥 ⚖ 🔁 🔢 ⏮️ `yield`. 👉 📶 🎏 🔗 ⏮️ `yield`.
    
    ```Python hl_lines="14-19"
    {!../../docs_src/events/tutorial003.py!}
    ```
    
    🥇 🍕 🔢, ⏭ `yield`, 🔜 🛠️ **⏭** 🈸 ▶️.
    
    & 🍕 ⏮️ `yield` 🔜 🛠️ **⏮️** 🈸 ✔️ 🏁.
    
    ### 🔁 🔑 👨‍💼
    
    🚥 👆 ✅, 🔢 🎀 ⏮️ `@asynccontextmanager`.
    
    👈 🗜 🔢 🔘 🕳 🤙 "**🔁 🔑 👨‍💼**".
    
    ```Python hl_lines="1  13"
    {!../../docs_src/events/tutorial003.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. docs/pt/docs/deployment/manually.md

    ```
    
    </div>
    
    /// note | "Nota"
    
    O comando `uvicorn main:app` refere-se a:
    
    * `main`: o arquivo `main.py` (o "módulo" Python).
    * `app`: o objeto criado dentro de `main.py` com a linha `app = FastAPI()`.
    
    É equivalente a:
    
    ```Python
    from main import app
    ```
    
    ///
    
    Cada programa de servidor ASGI alternativo teria um comando semelhante, você pode ler mais na documentação respectiva.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 20 11:10:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/metadata.md

    * **説明文**: OpenAPIおよび自動APIドキュメントUIでのAPIの説明文。
    * **バージョン**: APIのバージョン。例: `v2` または `2.5.0`。
         *たとえば、以前のバージョンのアプリケーションがあり、OpenAPIも使用している場合に便利です。
    
    これらを設定するには、パラメータ `title`、`description`、`version` を使用します:
    
    ```Python hl_lines="4-6"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    この設定では、自動APIドキュメントは以下の様になります:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## タグのためのメタデータ
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. docs/fr/docs/async.md

    ## `async` et `await`
    
    Les versions modernes de Python ont une manière très intuitive de définir le code asynchrone, tout en gardant une apparence de code "séquentiel" classique en laissant Python faire l'attente pour vous au bon moment.
    
    Pour une opération qui nécessite de l'attente avant de donner un résultat et qui supporte ces nouvelles fonctionnalités Python, vous pouvez l'utiliser comme tel :
    
    ```Python
    burgers = await get_burgers(2)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. docs/de/docs/how-to/extending-openapi.md

    Schreiben Sie zunächst wie gewohnt Ihre ganze **FastAPI**-Anwendung:
    
    ```Python hl_lines="1  4  7-9"
    {!../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Das OpenAPI-Schema generieren
    
    Verwenden Sie dann dieselbe Hilfsfunktion, um das OpenAPI-Schema innerhalb einer `custom_openapi()`-Funktion zu generieren:
    
    ```Python hl_lines="2  15-21"
    {!../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. docs/pt/docs/contributing.md

    ### Ambiente virtual com `venv`
    
    Você pode criar um ambiente virtual em um diretório utilizando o módulo `venv` do Python:
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    Isso criará o diretório `./env/` com os binários Python e então você será capaz de instalar pacotes nesse ambiente isolado.
    
    ### Ativar o ambiente
    
    Ative o novo ambiente com:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. docs/bn/docs/index.md

    আপনি সেটি আধুনিক পাইথনের সাথে করেন।
    
    আপনাকে নতুন করে নির্দিষ্ট কোন লাইব্রেরির বাক্য গঠন, ফাংশন বা ক্লাস কিছুই শিখতে হচ্ছে না।
    
    শুধুই আধুনিক **Python 3.6+**
    
    উদাহরণস্বরূপ, `int` এর জন্য:
    
    ```Python
    item_id: int
    ```
    
    অথবা আরও জটিল `Item` মডেলের জন্য:
    
    ```Python
    item: Item
    ```
    
    ...এবং সেই একই ঘোষণার সাথে আপনি পাবেন:
    
    - এডিটর সাহায্য, যেমন
      - সমাপ্তি।
      - ধরণ যাচাই
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/openapi-callbacks.md

    ///
    
    ### 创建回调的 `APIRouter`
    
    首先,新建包含一些用于回调的 `APIRouter`。
    
    ```Python hl_lines="5  26"
    {!../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    ### 创建回调*路径操作*
    
    创建回调*路径操作*也使用之前创建的 `APIRouter`。
    
    它看起来和常规 FastAPI *路径操作*差不多:
    
    * 声明要接收的请求体,例如,`body: InvoiceEvent`
    * 还要声明要返回的响应,例如,`response_model=InvoiceEventReceived`
    
    ```Python hl_lines="17-19  22-23  29-33"
    {!../../docs_src/openapi_callbacks/tutorial001.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top