Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 471 for bar3 (0.03 sec)

  1. tests/test_tutorial/test_response_model/test_tutorial004_py310.py

        return client
    
    
    @needs_py310
    @pytest.mark.parametrize(
        "url,data",
        [
            ("/items/foo", {"name": "Foo", "price": 50.2}),
            (
                "/items/bar",
                {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
            ),
            (
                "/items/baz",
                {
                    "name": "Baz",
                    "description": None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. tests/test_modules_same_name_body/test_main.py

        data = {"a": 2, "b": "foo"}
        response = client.post("/a/compute", json=data)
        assert response.status_code == 200, response.text
        data = response.json()
    
    
    def test_post_a_invalid():
        data = {"a": "bar", "b": "foo"}
        response = client.post("/a/compute", json=data)
        assert response.status_code == 422, response.text
    
    
    def test_post_b():
        data = {"a": 2, "b": "foo"}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/header-params.md

    {!> ../../docs_src/header_params/tutorial003_py310.py!}
    ```
    
    ////
    
    ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ”— โฎ๏ธ ๐Ÿ‘ˆ *โžก ๐Ÿ› ๏ธ* ๐Ÿ“จ 2๏ธโƒฃ ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐ŸŽš ๐Ÿ’–:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    ๐Ÿ“จ ๐Ÿ”œ ๐Ÿ’–:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## ๐ŸŒƒ
    
    ๐Ÿ“ฃ ๐ŸŽš โฎ๏ธ `Header`, โš™๏ธ ๐ŸŽ โš  โš“ `Query`, `Path` & `Cookie`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/archive/tar/tar_test.go

    		formats: FormatUSTAR | FormatPAX | FormatGNU,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"foo": "bar"}},
    		paxHdrs: map[string]string{paxSchilyXattr + "foo": "bar"},
    		formats: FormatPAX,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"foo": "bar"}, Format: FormatGNU},
    		paxHdrs: map[string]string{paxSchilyXattr + "foo": "bar"},
    		formats: FormatUnknown,
    	}, {
    		header:  &Header{Xattrs: map[string]string{"็”จๆˆถๅ": "\x00hello"}},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/query-params-str-validations.md

    ```
    
    ์•„๋ž˜์™€ ๊ฐ™์€ URL์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    ์—ฌ๋Ÿฌ `q` *์ฟผ๋ฆฌ ๋งค๊ฐœ๋ณ€์ˆ˜* ๊ฐ’๋“ค์„ (`foo` ๋ฐ `bar`) ํŒŒ์ด์ฌ `list`๋กœ *๊ฒฝ๋กœ ์ž‘๋™ ํ•จ์ˆ˜* ๋‚ด *ํ•จ์ˆ˜ ๋งค๊ฐœ๋ณ€์ˆ˜* `q`๋กœ ์ „๋‹ฌ ๋ฐ›์Šต๋‹ˆ๋‹ค.
    
    ๋”ฐ๋ผ์„œ ํ•ด๋‹น URL์— ๋Œ€ํ•œ ์‘๋‹ต์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    /// tip | "ํŒ"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

    import com.google.common.testing.SerializableTester;
    import org.junit.Ignore;
    
    /**
     * Basic reserialization test for collection types that must preserve {@code equals()} behavior when
     * reserialized. (Sets and Lists, but not bare Collections.)
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/archive/zip/testdata/winxp.zip

    hello world dir/bar foo readonly important...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 412 bytes
    - Viewed (0)
  8. cmd/storage-rest_test.go

    		objectName     string
    		destVolumeName string
    		destObjectName string
    		expectErr      bool
    	}{
    		{"foo", "myobject", "foo", "yourobject", false},
    		{"foo", "yourobject", "bar", "myobject", false},
    		// overwrite.
    		{"foo", "otherobject", "bar", "myobject", false},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertUnescaped(e, '@');
    
        // Don't use plus for spaces
        assertEscaping(e, "%20", ' ');
    
        assertEquals("safe%20with%20spaces", e.escape("safe with spaces"));
        assertEquals("foo@bar.com", e.escape("foo@bar.com"));
      }
    
      private UrlEscaperTesting() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. tests/sql_builder_test.go

    		return tx.Model(&User{}).Where("id = ?", 100).Update("name", "Foo bar")
    	})
    	assertEqualSQL(t, `UPDATE "users" SET "name"='Foo bar',"updated_at"='2021-10-18 19:50:09.438' WHERE id = 100 AND "users"."deleted_at" IS NULL`, sql)
    
    	// UpdateColumn
    	sql = DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    		return tx.Model(&User{}).Where("id = ?", 100).UpdateColumn("name", "Foo bar")
    	})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top