Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 559 for user_me (0.19 sec)

  1. tests/test_tutorial/test_body_multiple_params/test_tutorial005.py

                },
            ],
        }
    
    
    def test_post_missing_required_field_in_item(client: TestClient):
        response = client.put(
            "/items/5", json={"item": {"name": "Foo"}, "user": {"username": "johndoe"}}
        )
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "input": {"name": "Foo"},
                    "loc": [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/request-form-models.md

    ///
    
    您可以使用 Pydantic 的模型配置来禁止( `forbid` )任何额外( `extra` )字段:
    
    {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *}
    
    如果客户端尝试发送一些额外的数据,他们将收到**错误**响应。
    
    例如,如果客户端尝试发送这样的表单字段:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    他们将收到一条错误响应,表明字段 `extra` 是不被允许的:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 10 20:36:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tests/query_test.go

    	}
    
    	DB.Create(&users)
    
    	var userAges []int
    	err := DB.Model(&User{}).Where("name like ?", "pluck_with_select%").Select("age + 1 as user_age").Pluck("user_age", &userAges).Error
    	if err != nil {
    		t.Fatalf("got error when pluck user_age: %v", err)
    	}
    
    	sort.Ints(userAges)
    
    	AssertEqual(t, userAges, []int{26, 27})
    }
    
    func TestSelectWithVariables(t *testing.T) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  4. docs/logging/README.md

    ARGS:
    brokers*         (csv)       comma separated list of Kafka broker addresses
    topic            (string)    Kafka topic used for bucket notifications
    sasl_username    (string)    username for SASL/PLAIN or SASL/SCRAM authentication
    sasl_password    (string)    password for SASL/PLAIN or SASL/SCRAM authentication
    sasl_mechanism   (string)    sasl authentication mechanism, default 'plain'
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/dependencies/index.md

    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    そして、依存関係とサブ依存関係だけで、それぞれに異なるパーミッション要件を追加することができます:
    
    ```mermaid
    graph TB
    
    current_user(["current_user"])
    active_user(["active_user"])
    admin_user(["admin_user"])
    paying_user(["paying_user"])
    
    public["/items/public/"]
    private["/items/private/"]
    activate_user["/users/{user_id}/activate"]
    pro_items["/items/pro/"]
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/dependencies/index.md

    Por ejemplo, digamos que tienes 4 endpoints de API (*path operations*):
    
    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    entonces podrías agregar diferentes requisitos de permiso para cada uno de ellos solo con dependencias y sub-dependencias:
    
    ```mermaid
    graph TB
    
    current_user(["current_user"])
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. docs/sts/assume-role.md

    ```
    
    Create new users following the multi-user guide [here](https://docs.min.io/community/minio-object-store/administration/identity-access-management.html)
    
    ### Testing an example with awscli tool
    
    > Use the same username and password created in the previous steps.
    
    ```
    [foobar]
    region = us-east-1
    aws_access_key_id = foobar
    aws_secret_access_key = foo12345
    ```
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. internal/logger/help.go

    			Key:         KafkaTopic,
    			Description: "Kafka topic used for bucket notifications",
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         KafkaSASLUsername,
    			Description: "username for SASL/PLAIN or SASL/SCRAM authentication",
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         KafkaSASLPassword,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

          override operator fun set(
            builder: HttpUrl.Builder,
            value: String,
          ) {
            builder.username(value)
          }
    
          override operator fun get(url: HttpUrl): String = url.username
        },
    
        PASSWORD {
          override fun urlString(value: String): String = "http://:$******@****.***/"
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/body-multiple-params.md

    そのため、パラメータ名をボディのキー(フィールド名)として使用し、以下のようなボディを期待しています:
    
    ```JSON
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        },
        "user": {
            "username": "dave",
            "full_name": "Dave Grohl"
        }
    }
    ```
    
    /// note | 備考
    
    以前と同じように`item`が宣言されていたにもかかわらず、`item`はキー`item`を持つボディの内部にあることが期待されていることに注意してください。
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top