Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for modelName (0.15 sec)

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

    #### *Enumeration Üyelerini* Karşılaştıralım
    
    Parametreyi, yarattığınız enum olan `ModelName` içerisindeki *enumeration üyesi* ile karşılaştırabilirsiniz:
    
    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### *Enumeration Değerini* Edinelim
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/path-params.md

    #### Сравнение *элементов перечисления*
    
    Вы можете сравнить это значение с *элементом перечисления* класса `ModelName`:
    
    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Получение *значения перечисления*
    
    Можно получить фактическое значение (в данном случае - `str`) с помощью `model_name.value` или в общем случае `your_enum_member.value`:
    
    ```Python hl_lines="20"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/path-params.md

    Vous pouvez comparer ce paramètre avec les membres de votre énumération `ModelName` :
    
    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Récupérer la *valeur de l'énumération*
    
    Vous pouvez obtenir la valeur réel d'un membre (une chaîne de caractères ici), avec `model_name.value`, ou en général, `votre_membre_d'enum.value` :
    
    ```Python hl_lines="20"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/path-params.md

    ///
    
    ### 声明*路径参数*
    
    使用 Enum 类(`ModelName`)创建使用类型注解的*路径参数*:
    
    ```Python hl_lines="16"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### 查看文档
    
     API 文档会显示预定义*路径参数*的可用值:
    
    <img src="/img/tutorial/path-params/image03.png">
    
    ### 使用 Python _枚举类型_
    
    *路径参数*的值是枚举的元素。
    
    #### 比较*枚举元素*
    
    枚举类 `ModelName` 中的*枚举元素*支持比较操作:
    
    ```Python hl_lines="17"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/path-params.md

    #### Compare *membros de enumeration*
    
    Você pode comparar eles com o *membro de enumeration* no enum `ModelName` que você criou:
    
    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Obtenha o *valor de enumerate*
    
    Você pode ter o valor exato de enumerate (um `str` nesse caso) usando `model_name.value`, ou em geral, `your_enum_member.value`:
    
    ```Python hl_lines="20"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/path-params.md

    #### *列挙型メンバ*の比較
    
    これは、作成した列挙型 `ModelName` の*列挙型メンバ*と比較できます:
    
    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### *列挙値*の取得
    
    `model_name.value` 、もしくは一般に、 `your_enum_member.value` を使用して実際の値 (この場合は `str`) を取得できます。
    
    ```Python hl_lines="20"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// tip | "豆知識"
    
    `ModelName.lenet.value` でも `"lenet"` 値にアクセスできます。
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. cmd/update.go

    			coreMap[cpus[i].CoreID] = struct{}{}
    		}
    		cpu := cpus[0]
    		uaAppend(" CPU ", fmt.Sprintf("(total_cpus:%d, total_cores:%d; vendor:%s; family:%s; model:%s; stepping:%d; model_name:%s)",
    			len(cpuMap), len(coreMap), cpu.VendorID, cpu.Family, cpu.Model, cpu.Stepping, cpu.ModelName))
    	}
    	uaAppend(")", "")
    
    	return strings.Join(userAgentParts, "")
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileToRawModelMerger.java

                ModelBase.Builder builder,
                ModelBase target,
                ModelBase source,
                boolean sourceDominant,
                Map<Object, Object> context) {
            builder.pluginRepositories(source.getPluginRepositories());
        }
    
        @Override
        protected void mergeModelBase_Repositories(
                ModelBase.Builder builder,
                ModelBase target,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

        }
    
        /**
         * ProfileModelMerger
         */
        protected static class ProfileModelMerger extends MavenModelMerger {
    
            public void mergeModelBase(ModelBase.Builder builder, ModelBase target, ModelBase source) {
                mergeModelBase(builder, target, source, true, Collections.emptyMap());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                    && profile.getPluginRepositories().isEmpty()
                    && profile.getReporting() == null;
        }
    
        private static <T extends ModelBase.Builder> T prune(T builder, ModelBase model) {
            builder.properties(null).reporting(null);
            if (model.getDistributionManagement() != null
                    && model.getDistributionManagement().getRelocation() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top