Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 434 for enums (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/uk/docs/tutorial/path-operation-configuration.md

    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Мітки з переліками { #tags-with-enums }
    
    У великому застосунку ви можете накопичити багато міток і захочете переконатися, що завжди використовуєте ту саму мітку для пов'язаних «операцій шляху».
    
    У таких випадках має сенс зберігати мітки в `Enum`.
    
    FastAPI підтримує це так само, як і зі звичайними строками:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6K bytes
    - Click Count (0)
  2. docs/tr/docs/tutorial/path-operation-configuration.md

    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Enum ile Tags { #tags-with-enums }
    
    Büyük bir uygulamanız varsa, zamanla **birden fazla tag** birikebilir ve ilişkili *path operation*’lar için her zaman **aynı tag**’i kullandığınızdan emin olmak isteyebilirsiniz.
    
    Bu durumlarda tag’leri bir `Enum` içinde tutmak mantıklı olabilir.
    
    **FastAPI** bunu düz string’lerde olduğu gibi aynı şekilde destekler:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Platform.java

      }
    
      static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) {
        WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value);
        /*
         * We use `fromNullable` instead of `of` because `WeakReference.get()` has a nullable return
         * type.
         *
         * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/Platform.java

      }
    
      static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) {
        WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value);
        /*
         * We use `fromNullable` instead of `of` because `WeakReference.get()` has a nullable return
         * type.
         *
         * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/path-operation-configuration.md

    ### Теги с перечислениями { #tags-with-enums }
    
    Если у вас большое приложение, вы можете прийти к необходимости добавить **несколько тегов**, и возможно, вы захотите убедиться в том, что всегда используете **один и тот же тег** для связанных *операций пути*.
    
    В этих случаях, имеет смысл хранить теги в классе `Enum`.
    
    **FastAPI** поддерживает это так же, как и в случае с обычными строками:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/path-operation-configuration.md

    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Tags mittels Enumeration { #tags-with-enums }
    
    Wenn Sie eine große Anwendung haben, können sich am Ende **viele Tags** anhäufen, und Sie möchten sicherstellen, dass Sie für verwandte *Pfadoperationen* immer den **gleichen Tag** verwenden.
    
    In diesem Fall macht es Sinn, die Tags in einem `Enum` zu speichern.
    
    **FastAPI** unterstützt das auf die gleiche Weise wie einfache Strings:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/path-operation-configuration.md

    ### Utiliser des tags avec Enum { #tags-with-enums }
    
    Si vous avez une grande application, vous pourriez finir par accumuler **plusieurs tags**, et vous voudrez vous assurer d'utiliser toujours le **même tag** pour les *chemins d'accès* associés.
    
    Dans ces cas, il peut être judicieux de stocker les tags dans un `Enum`.
    
    **FastAPI** le prend en charge de la même manière qu'avec des chaînes simples :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/path-operation-configuration.md

    전달된 태그들은 OpenAPI의 스키마에 추가되며, 자동 문서 인터페이스에서 사용됩니다:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Enum을 사용한 태그 { #tags-with-enums }
    
    큰 애플리케이션이 있다면, **여러 태그**가 쌓이게 될 수 있고, 관련된 *경로 처리*에 항상 **같은 태그**를 사용하는지 확인하고 싶을 것입니다.
    
    이런 경우에는 태그를 `Enum`에 저장하는 것이 합리적일 수 있습니다.
    
    **FastAPI**는 일반 문자열과 동일한 방식으로 이를 지원합니다:
    
    {* ../../docs_src/path_operation_configuration/tutorial002b_py310.py hl[1,8:10,13,18] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Sets.java

       * with an implementation specialized for enums. Unlike {@link ImmutableSet#toImmutableSet}, the
       * resulting set will iterate over elements in their enum definition order, not encounter order.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      public static <E extends Enum<E>> Collector<E, ?, ImmutableSet<E>> toImmutableEnumSet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Sets.java

       * with an implementation specialized for enums. Unlike {@link ImmutableSet#toImmutableSet}, the
       * resulting set will iterate over elements in their enum definition order, not encounter order.
       *
       * @since 21.0
       */
      public static <E extends Enum<E>> Collector<E, ?, ImmutableSet<E>> toImmutableEnumSet() {
        return CollectCollectors.toImmutableEnumSet();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
Back to Top