Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 645 for Pythons (0.42 sec)

  1. docs/ja/docs/tutorial/security/first-steps.md

    ## `main.py`を作成
    
    `main.py`に、下記の例をコピーします:
    
    {* ../../docs_src/security/tutorial001.py *}
    
    ## 実行
    
    /// info | 情報
    
    まず<a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>をインストールします。
    
    例えば、`pip install python-multipart`。
    
    これは、**OAuth2**が `ユーザー名` や `パスワード` を送信するために、「フォームデータ」を使うからです。
    
    ///
    
    例を実行します:
    
    <div class="termy">
    
    ```console
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/path-operation-advanced-configuration.md

    ///
    
    /// warning | Achtung
    
    Wenn Sie dies tun, müssen Sie sicherstellen, dass jede Ihrer *Pfadoperation-Funktionen* einen eindeutigen Namen hat.
    
    Auch wenn diese sich in unterschiedlichen Modulen (Python-Dateien) befinden.
    
    ///
    
    ## Von OpenAPI ausschließen { #exclude-from-openapi }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    ///
    
    /// warning | Attention
    
    Pour faire cela, vous devez vous assurer que chacun de vos *chemin* ait un nom unique.
    
    Même s'ils se trouvent dans des modules différents (fichiers Python).
    
    ///
    
    ## Exclusion d'OpenAPI
    
    Pour exclure un *chemin* du schéma OpenAPI généré (et donc des systèmes de documentation automatiques), utilisez le paramètre `include_in_schema` et assignez-lui la valeur `False` :
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/openapi-callbacks.md

    The actual callback code will depend heavily on your own API app.
    
    And it will probably vary a lot from one app to the next.
    
    It could be just one or two lines of code, like:
    
    ```Python
    callback_url = "https://example.com/api/v1/invoices/events/"
    httpx.post(callback_url, json={"description": "Invoice paid", "paid": True})
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/openapi-callbacks.md

    O código real do callback dependerá muito da sua própria aplicação de API.
    
    E provavelmente variará muito de um aplicativo para o outro.
    
    Poderia ser apenas uma ou duas linhas de código, como:
    
    ```Python
    callback_url = "https://example.com/api/v1/invoices/events/"
    httpx.post(callback_url, json={"description": "Invoice paid", "paid": True})
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. docs/tr/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    /// note | Not
    
    `uvicorn main:app` komutunu şu şekilde açıklayabiliriz:
    
    * `main`: dosya olan `main.py` (yani Python "modülü").
    * `app`: ise `main.py` dosyasının içerisinde `app = FastAPI()` satırında oluşturduğumuz `FastAPI` nesnesi.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. fastapi/background.py

        sent to the client.
    
        Read more about it in the
        [FastAPI docs for Background Tasks](https://fastapi.tiangolo.com/tutorial/background-tasks/).
    
        ## Example
    
        ```python
        from fastapi import BackgroundTasks, FastAPI
    
        app = FastAPI()
    
    
        def write_notification(email: str, message=""):
            with open("log.txt", mode="w") as email_file:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/dependencies/index.md

    * 服务(Service)
    * 可注入(Injectable)
    * 组件(Component)
    
    ## **FastAPI** 插件
    
    **依赖注入**系统支持构建集成和「插件」。但实际上,FastAPI 根本**不需要创建「插件」**,因为使用依赖项可以声明不限数量的、可用于*路径操作函数*的集成与交互。
    
    创建依赖项非常简单、直观,并且还支持导入 Python 包。毫不夸张地说,只要几行代码就可以把需要的 Python 包与 API 函数集成在一起。
    
    下一章将详细介绍在关系型数据库、NoSQL 数据库、安全等方面使用依赖项的例子。
    
    ## **FastAPI** 兼容性
    
    依赖注入系统如此简洁的特性,让 **FastAPI** 可以与下列系统兼容:
    
    * 关系型数据库
    * NoSQL 数据库
    * 外部支持库
    * 外部 API
    * 认证和鉴权系统
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. docs/ru/docs/_llm-test.md

    ```
    
    ...и ещё один пример вывода в консоли...
    
    ```console
    // Создать директорию "Code"
    $ mkdir code
    // Перейти в эту директорию
    $ cd code
    ```
    
    ...и пример кода на Python...
    
    ```Python
    wont_work()  # Это не сработает 😱
    works(foo="bar")  # Это работает 🎉
    ```
    
    ...и на этом всё.
    
    ////
    
    //// tab | Информация
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/first-steps.md

    ## Рассмотрим поэтапно { #recap-step-by-step }
    
    ### Шаг 1: импортируйте `FastAPI` { #step-1-import-fastapi }
    
    {* ../../docs_src/first_steps/tutorial001_py39.py hl[1] *}
    
    `FastAPI` — это класс на Python, который предоставляет всю функциональность для вашего API.
    
    /// note | Технические детали
    
    `FastAPI` — это класс, который напрямую наследуется от `Starlette`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.7K bytes
    - Viewed (0)
Back to top