Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,294 for enum2 (0.25 sec)

  1. docs/en/docs/tutorial/path-params.md

    ### Create an `Enum` class
    
    Import `Enum` and create a sub-class that inherits from `str` and from `Enum`.
    
    By inheriting from `str` the API docs will be able to know that the values must be of type `string` and will be able to render correctly.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/path-params.md

    ### Crea una clase `Enum`
    
    Importa `Enum` y crea una sub-clase que herede desde `str` y desde `Enum`.
    
    Al heredar desde `str` la documentación de la API podrá saber que los valores deben ser de tipo `string` y podrá mostrarlos correctamente.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.ir.txt

            $this: VALUE_PARAMETER name:<this> type:kotlin.Enum<<root>.Direction>
          FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum<<root>.Direction>) returnType:kotlin.Int [fake_override]
            overridden:
              public final fun hashCode (): kotlin.Int declared in kotlin.Enum
            $this: VALUE_PARAMETER name:<this> type:kotlin.Enum<<root>.Direction>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 04 09:35:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  4. src/crypto/internal/boring/goboringcrypto.h

    const GO_EVP_AEAD* _goboringcrypto_EVP_aead_aes_256_gcm_tls12(void);
    enum go_evp_aead_direction_t {
    	go_evp_aead_open = 0,
    	go_evp_aead_seal = 1
    };
    int _goboringcrypto_EVP_AEAD_CTX_init_with_direction(GO_EVP_AEAD_CTX*, const GO_EVP_AEAD*, const uint8_t*, size_t, size_t, enum go_evp_aead_direction_t);
    
    // #include <openssl/bn.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/path-params.md

    ### Criando uma classe `Enum`
    
    Importe `Enum` e crie uma sub-classe que herde de `str` e de `Enum`.
    
    Por herdar de `str` a documentação da API vai ser capaz de saber que os valores devem ser do tipo `string` e assim ser capaz de mostrar eles corretamente.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/path-params.md

    ```
    
    否则,`/users/{user_id}` 将匹配 `/users/me`,FastAPI 会**认为**正在接收值为 `"me"` 的 `user_id` 参数。
    
    ## 预设值
    
    路径操作使用 Python 的 <abbr title="Enumeration">`Enum`</abbr> 类型接收预设的*路径参数*。
    
    ### 创建 `Enum` 类
    
    导入 `Enum` 并创建继承自 `str` 和 `Enum` 的子类。
    
    通过从 `str` 继承,API 文档就能把值的类型定义为**字符串**,并且能正确渲染。
    
    然后,创建包含固定值的类属性,这些固定值是可用的有效值:
    
    ```Python hl_lines="1  6-9"
    {!../../../docs_src/path_params/tutorial005.py!}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 01 05:35:40 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/path-params.md

    ### Création d'un `Enum`
    
    Importez `Enum` et créez une sous-classe qui hérite de `str` et `Enum`.
    
    En héritant de `str` la documentation sera capable de savoir que les valeurs doivent être de type `string` et pourra donc afficher cette `Enum` correctement.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/api/logging-interceptor.api

    	public static final field BASIC Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field BODY Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field HEADERS Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static final field NONE Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static fun getEntries ()Lkotlin/enums/EnumEntries;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      boolean getIfPresent(int repetitions) {
        boolean retVal = false;
        for (int i = 0; i < repetitions; ++i) {
          retVal &= Enums.getIfPresent(enumType, sampleData[i & 255]).isPresent();
        }
        return retVal;
      }
    
      private enum SmallEnum {
        X0,
        X1,
        X2
      }
    
      private enum MediumEnum {
        X0,
        X1,
        X2,
        X3,
        X4,
        X5,
        X6,
        X7,
        X8,
        X9,
        X10,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy

            options[5].availableValues == [] as Set
    
            options[6].name == "multiEnum"
            options[6].description == "a list of enums"
            options[6].argumentType == List
            options[6].availableValues == [] as Set
    
            options[7].name == "multiInteger"
            options[7].description == "a list of integers"
            options[7].argumentType == List
            options[7].availableValues == [] as Set
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 12:45:01 UTC 2023
    - 33.4K bytes
    - Viewed (0)
Back to top