Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 540 for enums (0.03 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. docs/zh/docs/tutorial/path-operation-configuration.md

    OpenAPI 概图会自动添加标签,供 API 文档接口使用:
    
    <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] *}
    
    ## 摘要和描述 { #summary-and-description }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. docs/en/docs/release-notes.md

    * ✨ Add support for tags with Enums. PR [#4468](https://github.com/tiangolo/fastapi/pull/4468) by [@tiangolo](https://github.com/tiangolo). New docs: [Path Operation Configuration - Tags with Enums](https://fastapi.tiangolo.com/tutorial/path-operation-configuration/#tags-with-enums).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  9. fastapi/routing.py

        Generator,
        Iterator,
        Mapping,
        Sequence,
    )
    from contextlib import (
        AbstractAsyncContextManager,
        AbstractContextManager,
        AsyncExitStack,
        asynccontextmanager,
    )
    from enum import Enum, IntEnum
    from typing import (
        Annotated,
        Any,
        TypeVar,
        cast,
    )
    
    import anyio
    from annotated_doc import Doc
    from anyio.abc import ObjectReceiveStream
    from fastapi import params
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.23.md

    ## Changelog since v1.23.5
    
    ## Changes by Kind
    
    ### API Change
    
    - Omits alpha-level enums from the static openapi file captured in api/openapi-spec ([#109179](https://github.com/kubernetes/kubernetes/pull/109179), [@liggitt](https://github.com/liggitt)) [SIG Apps and Auth]
    
    ### Feature
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Feb 28 21:06:52 GMT 2023
    - 424.5K bytes
    - Click Count (0)
Back to Top