Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 2,182 for iteration (0.07 seconds)

  1. docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # 경로 처리 데코레이터에서의 의존성 { #dependencies-in-path-operation-decorators }
    
    몇몇 경우에는, *경로 처리 함수* 안에서 의존성의 반환 값이 필요하지 않습니다.
    
    또는 의존성이 값을 반환하지 않습니다.
    
    그러나 여전히 실행/해결될 필요가 있습니다.
    
    그런 경우에, `Depends`를 사용하여 *경로 처리 함수*의 매개변수로 선언하는 대신 *경로 처리 데코레이터*에 `dependencies`의 `list`를 추가할 수 있습니다.
    
    ## *경로 처리 데코레이터*에 `dependencies` 추가하기 { #add-dependencies-to-the-path-operation-decorator }
    
    *경로 처리 데코레이터*는 선택적인 인자 `dependencies`를 받습니다.
    
    `Depends()`로 된 `list`이어야 합니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # 路径操作装饰器依赖项 { #dependencies-in-path-operation-decorators }
    
    有时,我们并不需要在*路径操作函数*中使用依赖项的返回值。
    
    或者说,有些依赖项不返回值。
    
    但仍要执行或解析该依赖项。
    
    对于这种情况,不必在声明*路径操作函数*的参数时使用 `Depends`,而是可以在*路径操作装饰器*中添加一个由 `dependencies` 组成的 `list`。
    
    ## 在*路径操作装饰器*中添加 `dependencies` 参数 { #add-dependencies-to-the-path-operation-decorator }
    
    *路径操作装饰器*支持可选参数 `dependencies`。
    
    该参数的值是由 `Depends()` 组成的 `list`:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[19] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # Зависимости в декораторах операции пути { #dependencies-in-path-operation-decorators }
    
    В некоторых случаях, возвращаемое значение зависимости не используется внутри *функции операции пути*.
    
    Или же зависимость не возвращает никакого значения.
    
    Но вам всё-таки нужно, чтобы она выполнилась.
    
    Для таких ситуаций, вместо объявления *функции операции пути* с параметром `Depends`, вы можете добавить список зависимостей `dependencies` в *декоратор операции пути*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 5K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # Gérer les dépendances dans les décorateurs de chemins d'accès { #dependencies-in-path-operation-decorators }
    
    Dans certains cas, vous n'avez pas vraiment besoin de la valeur de retour d'une dépendance dans votre *fonction de chemin d'accès*.
    
    Ou la dépendance ne retourne aucune valeur.
    
    Mais vous avez quand même besoin qu'elle soit exécutée/résolue.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # Dependências em decoradores de operações de rota { #dependencies-in-path-operation-decorators }
    
    Em alguns casos você não precisa necessariamente do valor de retorno de uma dependência dentro de uma *função de operação de rota*.
    
    Ou a dependência não retorna nenhum valor.
    
    Mas você ainda precisa que ela seja executada/resolvida.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # 路徑操作裝飾器中的依賴 { #dependencies-in-path-operation-decorators }
    
    有時在你的路徑操作函式中,其實不需要某個依賴的回傳值。
    
    或是該依賴根本沒有回傳值。
    
    但你仍需要它被執行/解析。
    
    這種情況下,你可以不在路徑操作函式的參數上使用 `Depends`,而是在路徑操作裝飾器加入一個 `dependencies` 的 `list`。
    
    ## 在路徑操作裝飾器加入 `dependencies` { #add-dependencies-to-the-path-operation-decorator }
    
    路徑操作裝飾器可接受一個可選參數 `dependencies`。
    
    它應該是由 `Depends()` 組成的 `list`:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[19] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        Iterator<Integer> iterator = ints.iterator();
        assertEquals(0, (int) numberOrdering.min(iterator));
        assertFalse(iterator.hasNext());
      }
    
      public void testIteratorMaxExhaustsIterator() {
        List<Integer> ints = Lists.newArrayList(9, 0, 3, 5);
        Iterator<Integer> iterator = ints.iterator();
        assertEquals(9, (int) numberOrdering.max(iterator));
        assertFalse(iterator.hasNext());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

        Iterator<Integer> iterator = ints.iterator();
        assertEquals(0, (int) numberOrdering.min(iterator));
        assertFalse(iterator.hasNext());
      }
    
      public void testIteratorMaxExhaustsIterator() {
        List<Integer> ints = Lists.newArrayList(9, 0, 3, 5);
        Iterator<Integer> iterator = ints.iterator();
        assertEquals(9, (int) numberOrdering.max(iterator));
        assertFalse(iterator.hasNext());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Multiset.java

      // Refined Collection Methods
    
      /**
       * {@inheritDoc}
       *
       * <p>Elements that occur multiple times in the multiset will appear multiple times in this
       * iterator, though not necessarily sequentially.
       */
      @Override
      Iterator<E> iterator();
    
      /**
       * Determines whether this multiset contains the specified element.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  10. docs/en/docs/features.md

    * All the dependencies can require data from requests and **augment the path operation** constraints and automatic documentation.
    * **Automatic validation** even for *path operation* parameters defined in dependencies.
    * Support for complex user authentication systems, **database connections**, etc.
    * **No compromise** with databases, frontends, etc. But easy integration with all of them.
    
    ### Unlimited "plug-ins" { #unlimited-plug-ins }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top