Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for written (0.17 sec)

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

    
    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` reçoit comme arguments :
    
    * Une fonction de tâche à exécuter en arrière-plan (`write_notification`).
    * Les arguments positionnels à passer à la fonction de tâche dans l'ordre (`email`).
    * Les arguments nommés à passer à la fonction de tâche (`message="some notification"`).
    
    ## Injection de dépendances
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 5.7K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/background-tasks.md

    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` は以下の引数を受け取ります:
    
    * バックグラウンドで実行されるタスク関数 (`write_notification`)。
    * タスク関数に順番に渡す必要のある引数の列 (`email`)。
    * タスク関数に渡す必要のあるキーワード引数 (`message="some notification"`)。
    
    ## 依存性注入
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 15 16:12:39 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/background-tasks.md

        {!> ../../../docs_src/background_tasks/tutorial002.py!}
        ```
    
    In this example, the messages will be written to the `log.txt` file *after* the response is sent.
    
    If there was a query in the request, it will be written to the log in a background task.
    
    And then another background task generated at the *path operation function* will write a message using the `email` path parameter.
    
    ## Technical Details
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/background-tasks.md

    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` recebe como argumentos:
    
    - Uma função de tarefa a ser executada em segundo plano (`write_notification`).
    - Qualquer sequência de argumentos que deve ser passada para a função de tarefa na ordem (`email`).
    - Quaisquer argumentos nomeados que devem ser passados ​​para a função de tarefa (`mensagem = "alguma notificação"`).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon May 09 23:44:32 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/background-tasks.md

    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` erhält als Argumente:
    
    * Eine Taskfunktion, die im Hintergrund ausgeführt wird (`write_notification`).
    * Eine beliebige Folge von Argumenten, die der Reihe nach an die Taskfunktion übergeben werden sollen (`email`).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jan 12 14:15:29 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/background-tasks.md

    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` принимает следующие аргументы:
    
    * Функцию, которая будет выполнена в фоне (`write_notification`). Обратите внимание, что передается объект функции, без скобок.
    * Любое упорядоченное количество аргументов, которые принимает функция (`email`).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 09 15:52:07 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/background-tasks.md

    ## 🚮 🖥 📋
    
    🔘 👆 *➡ 🛠️ 🔢*, 🚶‍♀️ 👆 📋 🔢 *🖥 📋* 🎚 ⏮️ 👩‍🔬 `.add_task()`:
    
    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` 📨 ❌:
    
    * 📋 🔢 🏃 🖥 (`write_notification`).
    * 🙆 🔁 ❌ 👈 🔜 🚶‍♀️ 📋 🔢 ✔ (`email`).
    * 🙆 🇨🇻 ❌ 👈 🔜 🚶‍♀️ 📋 🔢 (`message="some notification"`).
    
    ## 🔗 💉
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top