Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 966 for vorm (0.07 sec)

  1. tests/multi_primary_keys_test.go

    import (
    	"reflect"
    	"sort"
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    type Blog struct {
    	ID         uint   `gorm:"primary_key"`
    	Locale     string `gorm:"primary_key"`
    	Subject    string
    	Body       string
    	Tags       []Tag `gorm:"many2many:blog_tags;"`
    	SharedTags []Tag `gorm:"many2many:shared_blog_tags;ForeignKey:id;References:id"`
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/request-forms-and-files.md

    # 폼 및 파일 요청
    
    `File` 과 `Form` 을 사용하여 파일과 폼을 함께 정의할 수 있습니다.
    
    /// info | "정보"
    
    파일과 폼 데이터를 함께, 또는 각각 업로드하기 위해 먼저 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>를 설치해야합니다.
    
    예 ) `pip install python-multipart`.
    
    ///
    
    ## `File` 및 `Form` 업로드
    
    ```Python hl_lines="1"
    {!../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    ## `File` 및 `Form` 매개변수 정의
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. docs_src/request_forms/tutorial001_an.py

    from fastapi import FastAPI, Form
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.post("/login/")
    async def login(username: Annotated[str, Form()], password: Annotated[str, Form()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 233 bytes
    - Viewed (0)
  4. tests/delete_test.go

    package tests_test
    
    import (
    	"errors"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestDelete(t *testing.T) {
    	users := []User{*GetUser("delete", Config{}), *GetUser("delete", Config{}), *GetUser("delete", Config{})}
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Errorf("errors happened when create: %v", err)
    	}
    
    	for _, user := range users {
    		if user.ID == 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  5. docs_src/request_form_models/tutorial002_pv1_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, Form
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
    
        class Config:
            extra = "forbid"
    
    
    @app.post("/login/")
    async def login(data: Annotated[FormData, Form()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 312 bytes
    - Viewed (0)
  6. LICENSES/third_party/forked/shell2junit/LICENSE

    permissions granted by this License. 
    
    "Source" form shall mean the preferred form for making modifications, 
    including but not limited to software source code, documentation source, and 
    configuration files. 
    
    "Object" form shall mean any form resulting from mechanical transformation 
    or translation of a Source form, including but not limited to compiled 
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Jul 08 11:48:19 UTC 2021
    - 9.2K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser.go

    	return signedHeaders, ErrNone
    }
    
    // signValues data type represents structured form of AWS Signature V4 header.
    type signValues struct {
    	Credential    credentialHeader
    	SignedHeaders []string
    	Signature     string
    }
    
    // preSignValues data type represents structured form of AWS Signature V4 query string.
    type preSignValues struct {
    	signValues
    	Date    time.Time
    	Expires time.Duration
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. docs/en/docs/reference/parameters.md

    * `Path()`
    * `Body()`
    * `Cookie()`
    * `Header()`
    * `Form()`
    * `File()`
    
    You can import them all directly from `fastapi`:
    
    ```python
    from fastapi import Body, Cookie, File, Form, Header, Path, Query
    ```
    
    ::: fastapi.Query
    
    ::: fastapi.Path
    
    ::: fastapi.Body
    
    ::: fastapi.Cookie
    
    ::: fastapi.Header
    
    ::: fastapi.Form
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 603 bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    		return
    	}
    	origvolume := r.Form.Get(storageRESTOrigVolume)
    	volume := r.Form.Get(storageRESTVolume)
    	filePath := r.Form.Get(storageRESTFilePath)
    	versionID := r.Form.Get(storageRESTVersionID)
    	healing, err := strconv.ParseBool(r.Form.Get(storageRESTHealing))
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	inclFreeVersions, err := strconv.ParseBool(r.Form.Get(storageRESTInclFreeVersions))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/openapi-callbacks.md

    In diesem Fall möchten Sie möglicherweise dokumentieren, wie diese externe API aussehen *sollte*. Welche *Pfadoperation* sie haben sollte, welchen Body sie erwarten sollte, welche Response sie zurückgeben sollte, usw.
    
    ## Eine Anwendung mit Callbacks
    
    Sehen wir uns das alles anhand eines Beispiels an.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top