Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,772 for user2 (0.02 sec)

  1. docs_src/extra_models/tutorial001.py

    
    def fake_save_user(user_in: UserIn):
        hashed_password = fake_password_hasher(user_in.password)
        user_in_db = UserInDB(**user_in.dict(), hashed_password=hashed_password)
        print("User saved! ..not really")
        return user_in_db
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user_in: UserIn):
        user_saved = fake_save_user(user_in)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 943 bytes
    - Viewed (0)
  2. .github/pull_request_template.md

    - [ ] Extensions and Telemetry
    - [ ] Security
    - [ ] Test and Release
    - [ ] User Experience
    - [ ] Developer Infrastructure
    - [ ] Upgrade
    - [ ] Multi Cluster
    - [ ] Virtual Machine
    - [ ] Control Plane Revisions
    
    **Please check any characteristics that apply to this pull request.**
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jun 24 18:27:30 UTC 2024
    - 806 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

                resultBuf.append(e.getMessage()).append("\n");
            }
    
            // purge user info
            try {
                final int days = ComponentUtil.getFessConfig().getPurgeUserInfoDay();
                if (days >= 0) {
                    userInfoService.deleteBefore(days);
                } else {
                    resultBuf.append("Skipped to purge user info logs.\n");
                }
            } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

    class RequestCommonTest {
      @Test
      fun constructorNormal() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
            body = body,
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/body-multiple-params.md

            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        },
        "user": {
            "username": "dave",
            "full_name": "Dave Grohl"
        }
    }
    ```
    
    /// note | "참고"
    
    이전과 같이 `item`이 선언 되었더라도, 본문 내의 `item` 키가 있을 것이라고 예측합니다.
    
    ///
    
    FastAPI는 요청을 자동으로 변환해, 매개변수의 `item`과 `user`를 특별한 내용으로 받도록 할 것입니다.
    
    복합 데이터의 검증을 수행하고 OpenAPI 스키마 및 자동 문서를 문서화합니다.
    
    ## 본문 내의 단일 값
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. clause/values_test.go

    			[]clause.Interface{
    				clause.Insert{},
    				clause.Values{
    					Columns: []clause.Column{{Name: "name"}, {Name: "age"}},
    					Values:  [][]interface{}{{"jinzhu", 18}, {"josh", 1}},
    				},
    			},
    			"INSERT INTO `users` (`name`,`age`) VALUES (?,?),(?,?)",
    			[]interface{}{"jinzhu", 18, "josh", 1},
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 691 bytes
    - Viewed (0)
  7. docs/vi/docs/features.md

        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Sau đó có thể được sử dụng:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. docs/zh/docs/features.md

        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    可以像这样来使用:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. impl/maven-core/plugin-manager.txt

    * activation
    * update
    * deactivation
    * un-installation
    
    When a plugin is installed we may want to check the license and make users agree. We may also want to unpack the given plugin in a particular location.
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. Makefile.core.mk

    HUB ?=istio
    ifeq ($(HUB),)
      $(error "HUB cannot be empty")
    endif
    
    # For dockerx builds, allow HUBS which is a space separated list of hubs. Default to HUB.
    HUBS ?= $(HUB)
    
    # If tag not explicitly set in users' .istiorc.mk or command line, default to the git sha.
    TAG ?= $(shell git rev-parse --verify HEAD)
    ifeq ($(TAG),)
      $(error "TAG cannot be empty")
    endif
    
    PULL_POLICY ?= IfNotPresent
    ifeq ($(TAG),latest)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 03 23:53:59 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top