Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for 410 (0.15 sec)

  1. tests/hooks_test.go

    		}
    	}
    
    	DB.Model(&products).Update("Name", "product-name")
    
    	// will set all product's price to last product's price + 10
    	for idx, value := range []int64{410, 410, 410} {
    		if products[idx].Price != value {
    			t.Errorf("invalid price for product #%v, expects: %v, got %v", idx, value, products[idx].Price)
    		}
    	}
    
    	products2 := []Product3{
    		{Name: "Product-1", Price: 100},
    Go
    - Registered: Sun Apr 14 09:35:11 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/body-nested-models.md

        {!> ../../../docs_src/body_nested_models/tutorial005_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="4  10"
        {!> ../../../docs_src/body_nested_models/tutorial005_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4  10"
        {!> ../../../docs_src/body_nested_models/tutorial005.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-nested-models.md

        {!> ../../../docs_src/body_nested_models/tutorial005_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="4  10"
        {!> ../../../docs_src/body_nested_models/tutorial005_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4  10"
        {!> ../../../docs_src/body_nested_models/tutorial005.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. docs/en/docs/img/deployment/concepts/process-ram.drawio

                    </mxCell>
                    <mxCell id="6" value="" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;strokeWidth=4;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
                        <mxGeometry x="1110" y="410" width="190" height="500" as="geometry"/>
                    </mxCell>
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 10K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/schema-extra-example.md

    === "Python 3.10+"
    
        ```Python hl_lines="2  8-11"
        {!> ../../../docs_src/schema_extra_example/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4  10-13"
        {!> ../../../docs_src/schema_extra_example/tutorial002.py!}
        ```
    
    !!! warning
        请记住,传递的那些额外参数不会添加任何验证,只会添加注释,用于文档的目的。
    
    ## `Body` 额外参数
    
    你可以通过传递额外信息给 `Field` 同样的方式操作`Path`, `Query`, `Body`等。
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/body-nested-models.md

        {!> ../../../docs_src/body_nested_models/tutorial005_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="4  10"
        {!> ../../../docs_src/body_nested_models/tutorial005_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4  10"
        {!> ../../../docs_src/body_nested_models/tutorial005.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/body-nested-models.md

    Por exemplo, no modelo `Image` nós temos um campo `url`, nós podemos declara-lo como um `HttpUrl` do Pydantic invés de como uma `str`:
    
    ```Python hl_lines="4  10"
    {!../../../docs_src/body_nested_models/tutorial005.py!}
    ```
    
    A string será verificada para se tornar uma URL válida e documentada no esquema JSON/1OpenAPI como tal.
    
    ## Atributos como listas de submodelos
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  8. docs/en/docs/img/tutorial/bigger-applications/package.drawio

                    </mxCell>
                    <mxCell id="4" value="" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;strokeWidth=4;" parent="1" vertex="1">
                        <mxGeometry x="540" y="430" width="440" height="410" as="geometry"/>
                    </mxCell>
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/body-nested-models.md

        {!> ../../../docs_src/body_nested_models/tutorial005_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="4  10"
        {!> ../../../docs_src/body_nested_models/tutorial005_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4  10"
        {!> ../../../docs_src/body_nested_models/tutorial005.py!}
        ```
    
    该字符串将被检查是否为有效的 URL,并在 JSON Schema / OpenAPI 文档中进行记录。
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/body-nested-models.md

    예를 들어 `Image` 모델 안에 `url` 필드를 `str` 대신 Pydantic의 `HttpUrl`로 선언할 수 있습니다:
    
    ```Python hl_lines="4  10"
    {!../../../docs_src/body_nested_models/tutorial005.py!}
    ```
    
    이 문자열이 유효한 URL인지 검사하고 JSON 스키마/OpenAPI로 문서화 됩니다.
    
    ## 서브모델 리스트를 갖는 어트리뷰트
    
    `list`, `set` 등의 서브타입으로 Pydantic 모델을 사용할 수도 있습니다:
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.6K bytes
    - Viewed (0)
Back to top