Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 212 for avait (0.03 sec)

  1. docs/fr/docs/advanced/response-directly.md

    Pour ces cas, vous pouvez spécifier un appel à `jsonable_encoder` pour convertir vos données avant de les passer à une réponse :
    
    {* ../../docs_src/response_directly/tutorial001.py hl[6:7,21:22] *}
    
    /// note | Détails techniques
    
    Vous pouvez aussi utiliser `from starlette.responses import JSONResponse`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/background-tasks.md

    ## ✍ 📋 🔢
    
    ✍ 🔢 🏃 🖥 📋.
    
    ⚫️ 🐩 🔢 👈 💪 📨 🔢.
    
    ⚫️ 💪 `async def` ⚖️ 😐 `def` 🔢, **FastAPI** 🔜 💭 ❔ 🍵 ⚫️ ☑.
    
    👉 💼, 📋 🔢 🔜 ✍ 📁 (⚖ 📨 📧).
    
    & ✍ 🛠️ 🚫 ⚙️ `async` & `await`, 👥 🔬 🔢 ⏮️ 😐 `def`:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    ## 🚮 🖥 📋
    
    🔘 👆 *➡ 🛠️ 🔢*, 🚶‍♀️ 👆 📋 🔢 *🖥 📋* 🎚 ⏮️ 👩‍🔬 `.add_task()`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/dataclasses.md

        Wenn Sie eine Auffrischung darüber benötigen, wann welche Anwendung sinnvoll ist, lesen Sie den Abschnitt „In Eile?“ in der Dokumentation zu [`async` und `await`](../async.md#in-eile){.internal-link target=_blank}.
    
    9. Diese *Pfadoperation-Funktion* gibt keine Datenklassen zurück (obwohl dies möglich wäre), sondern eine Liste von Dictionarys mit internen Daten.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 10:12:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/background-tasks.md

    В нашем примере фоновая задача будет вести запись в файл (симулируя отправку письма).
    
    Так как операция записи не использует `async` и `await`, мы определим ее как обычную `def`:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    ## Добавление фоновой задачи
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/dataclasses.md

        As always, in FastAPI you can combine `def` and `async def` as needed.
    
        If you need a refresher about when to use which, check out the section _"In a hurry?"_ in the docs about [`async` and `await`](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    9. This *path operation function* is not returning dataclasses (although it could), but a list of dictionaries with internal data.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            doneSignal.countDown();
          }
        }.start();
    
        try {
          computingSignal.await();
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
    
        map.put(one, two);
        assertSame(two, map.get(one));
        startSignal.countDown();
    
        try {
          doneSignal.await();
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/background-tasks.md

    In diesem Fall schreibt die Taskfunktion in eine Datei (den Versand einer E-Mail simulierend).
    
    Und da der Schreibvorgang nicht `async` und `await` verwendet, definieren wir die Funktion mit normalem `def`:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    ## Den Hintergrundtask hinzufügen
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/QueuesTest.java

          Producer producer = new Producer(q, 1);
          // producing one, will ask for two
          Future<?> producerThread = threadPool.submit(producer);
          producer.beganProducing.await();
    
          // make sure we time out
          Stopwatch timer = Stopwatch.createStarted();
    
          int drained = drain(q, new ArrayList<>(), 2, 10, MILLISECONDS, interruptibly);
          assertThat(drained).isAtMost(1);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/witness/WitnessClientTest.java

                // Test implementation
            }
    
            public boolean waitForNotification(long timeoutMs) throws InterruptedException {
                return notificationLatch.await(timeoutMs, TimeUnit.MILLISECONDS);
            }
    
            public WitnessNotification getLastNotification() {
                return lastNotification;
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. docs/uk/docs/index.md

        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Або використайте <code>async def</code>...</summary>
    
    Якщо ваш код використовує `async` / `await`, скористайтеся `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top