Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 353 for hawaii (0.04 seconds)

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

    In this case, the task function will write to a file (simulating sending an email).
    
    And as the write operation doesn't use `async` and `await`, we define the function with normal `def`:
    
    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[6:9] *}
    
    ## Add the background task { #add-the-background-task }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/dataclasses.md

       同樣地,你可以把 `dataclasses` 與標準型別註記組合使用。
    8. 注意這個「路徑操作函式」使用的是一般的 `def` 而非 `async def`。
    
       一如往常,在 FastAPI 中你可以視需要混用 `def` 與 `async def`。
    
       如果需要複習何時用哪個,請參考文件中關於 [`async` 與 `await`](../async.md#in-a-hurry) 的章節「In a hurry?」。
    9. 這個「路徑操作函式」回傳的不是 dataclass(雖然也可以),而是一個包含內部資料的字典清單。
    
       FastAPI 會使用 `response_model` 參數(其中包含 dataclass)來轉換回應。
    
    你可以把 `dataclasses` 與其他型別註記以多種方式組合,形成複雜的資料結構。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            };
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 100, callback);
            thread.start();
    
            assertTrue("Should process all lines within timeout", latch.await(3, TimeUnit.SECONDS));
    
            thread.join(1000);
    
            assertEquals("All lines should be processed", 5000, receivedLines.size());
            assertEquals("First line", "Line number 0", receivedLines.get(0));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/testing.md

    /// tip | Astuce
    
    Remarquez que les fonctions de test sont des `def` normales, pas des `async def`.
    
    Et les appels au client sont aussi des appels normaux, sans utiliser `await`.
    
    Cela vous permet d’utiliser `pytest` directement sans complications.
    
    ///
    
    /// note | Détails techniques
    
    Vous pouvez aussi utiliser `from starlette.testclient import TestClient`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          // We wait at most 1 second, so we don't ever turn multiple lost threads into
          // a test timeout failure.
          val waitTime = (entryTime + 1_000_000_000L - System.nanoTime())
          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
            TaskRunner.INSTANCE.withLock {
              TaskRunner.INSTANCE.cancelAll()
            }
            fail<Unit>("Queue still active after 1000 ms")
          }
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/background-tasks.md

    백그라운드 작업으로 실행할 함수를 생성합니다.
    
    이는 매개변수를 받을 수 있는 표준 함수일 뿐입니다.
    
    `async def` 함수일 수도, 일반 `def` 함수일 수도 있으며, **FastAPI**가 이를 올바르게 처리하는 방법을 알고 있습니다.
    
    이 경우 작업 함수는 파일에 쓰기를 수행합니다(이메일 전송을 시뮬레이션).
    
    그리고 쓰기 작업은 `async`와 `await`를 사용하지 않으므로, 일반 `def`로 함수를 정의합니다:
    
    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[6:9] *}
    
    ## 백그라운드 작업 추가 { #add-the-background-task }
    
    *경로 처리 함수* 내부에서 `.add_task()` 메서드로 작업 함수를 *백그라운드 작업* 객체에 전달합니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  7. src/main/resources/fess_message_tr.properties

    errors.storage_file_upload_failure={0} yüklenemedi.
    errors.storage_file_not_found=Hedef dosya depoda mevcut değil.
    errors.storage_file_download_failure={0} indirilemedi.
    errors.storage_access_error=Depolama Erişim Hatası: {0}
    errors.storage_no_upload_file=Lütfen yüklenecek bir dosya belirtin.
    errors.storage_directory_name_is_invalid=Dizin adı geçersiz.
    errors.storage_tags_update_failure={0} etiketleri güncellenemedi.
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 13K bytes
    - Click Count (0)
  8. docs/tr/docs/tutorial/security/oauth2-jwt.md

    `get_current_user` fonksiyonunu, öncekiyle aynı token'ı alacak şekilde güncelleyelim; ancak bu sefer JWT token'larını kullanacağız.
    
    Gelen token'ı decode edin, doğrulayın ve mevcut kullanıcıyı döndürün.
    
    Token geçersizse, hemen bir HTTP hatası döndürün.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## `/token` *path operation*'ını güncelleme { #update-the-token-path-operation }
    
    Token'ın süre sonu için bir `timedelta` oluşturun.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/background-tasks.md

    Neste caso, a função da tarefa escreverá em um arquivo (simulando o envio de um e-mail).
    
    E como a operação de escrita não usa `async` e `await`, definimos a função com um `def` normal:
    
    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[6:9] *}
    
    ## Adicione a tarefa em segundo plano { #add-the-background-task }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java

            CountDownLatch latch = new CountDownLatch(shards.size());
            for (int i = 0; i < shards.size(); i++) {
                consumer.consumeResult(shards.get(i), () -> latch.countDown());
            }
            latch.await();
            SearchPhaseController.ReducedQueryPhase phase = consumer.reduce();
            executor.shutdownNow();
            return phase;
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 15:45:38 GMT 2021
    - 8.1K bytes
    - Click Count (0)
Back to Top