Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for ModelName (0.11 sec)

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

    ///
    
    ### Bir *Yol Parametresi* Tanımlayalım
    
    Sonrasında, yarattığımız enum sınıfını (`ModelName`) kullanarak tip belirteci aracılığıyla bir *yol parametresi* oluşturalım:
    
    ```Python hl_lines="16"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### Dokümana Göz Atalım
    
    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="16"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### Проверьте документацию
    
    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

    ///
    
    ### Déclarer un paramètre de chemin
    
    Créez ensuite un *paramètre de chemin* avec une annotation de type désignant l'énumération créée précédemment (`ModelName`) :
    
    ```Python hl_lines="16"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### Documentation
    
    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

    ### Declare um *parâmetro de rota*
    
    Logo, crie um *parâmetro de rota* com anotações de tipo usando a classe enum que você criou (`ModelName`):
    
    ```Python hl_lines="16"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### Revise a documentação
    
    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

    		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, "")
    }
    
    func downloadReleaseURL(u *url.URL, timeout time.Duration, mode string) (content string, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top