Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,098 for foo (0.01 sec)

  1. tests/test_tutorial/test_response_model/test_tutorial004_py39.py

        from docs_src.response_model.tutorial004_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    @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",
                {
    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. guava-tests/test/com/google/common/graph/MapCacheTest.java

        assertThat(mapCache.get("key")).isEqualTo("new value");
      }
    
      @Test
      public void testRemoveEqualKeyWithDifferentReference() {
        String fooReference1 = new String("foo");
        String fooReference2 = new String("foo");
        assertThat(fooReference1).isNotSameInstanceAs(fooReference2);
    
        assertThat(mapCache.put(fooReference1, "bar")).isNull();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 16:23:26 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        ListenableFuture<String> callableFuture = e.submit(new TestCallable());
        assertThat(callableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(callableFuture.isDone());
        assertEquals("foo", callableFuture.get());
    
        TestRunnable runnable2 = new TestRunnable();
        ListenableFuture<Integer> runnableFuture2 = e.submit(runnable2, 3);
        assertThat(runnableFuture2).isInstanceOf(TrustedListenableFutureTask.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py39.py

        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    @needs_py39
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. cmd/os-reliable_test.go

    	}
    
    	if err = mkdirAll(pathJoin(path, "testvolume1"), 0o777, ""); err != nil {
    		t.Fatal(err)
    	}
    	if err = renameAll("", "foo", ""); err != errInvalidArgument {
    		t.Fatal(err)
    	}
    	if err = renameAll("foo", "", ""); err != errInvalidArgument {
    		t.Fatal(err)
    	}
    	if err = renameAll(pathJoin(path, "testvolume1"), pathJoin(path, "testvolume2"), ""); err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        ListenableFuture<String> callableFuture = e.submit(new TestCallable());
        assertThat(callableFuture).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(callableFuture.isDone());
        assertEquals("foo", callableFuture.get());
    
        TestRunnable runnable2 = new TestRunnable();
        ListenableFuture<Integer> runnableFuture2 = e.submit(runnable2, 3);
        assertThat(runnableFuture2).isInstanceOf(TrustedListenableFutureTask.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      public void testFilter() {
        FluentIterable<String> filtered =
            FluentIterable.from(asList("foo", "bar")).filter(equalTo("foo"));
    
        List<String> expected = singletonList("foo");
        List<String> actual = Lists.newArrayList(filtered);
        assertEquals(expected, actual);
        assertCanIterateAgain(filtered);
        assertEquals("[foo]", filtered.toString());
      }
    
      private static class TypeA {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/security/oauth2-jwt.md

    &amp; โคด๏ธ, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿค ๐Ÿ‘ˆ ๐Ÿฅ™ ๐Ÿค ๐Ÿ‘ฉโ€๐Ÿ’ป (โš–๏ธ ๐Ÿค–), &amp; ๐Ÿ‘ซ ๐Ÿ’ช โš™๏ธ โšซ๏ธ ๐ŸŽญ ๐Ÿ‘ˆ ๐ŸŽฏ (๐Ÿ’พ ๐Ÿš˜, โš–๏ธ โœ ๐Ÿ“ฐ ๐Ÿค) ๐Ÿต ๐Ÿ’†โ€โ™‚ โœ”๏ธ ๐Ÿง, โฎ๏ธ ๐Ÿฅ™ ๐Ÿค ๐Ÿ‘† ๐Ÿ› ๏ธ ๐Ÿ— ๐Ÿ‘ˆ.
    
    โš™๏ธ ๐Ÿ‘ซ ๐Ÿ’ญ, ๐Ÿฅ™ ๐Ÿ’ช โš™๏ธ ๐ŸŒŒ ๐ŸŒ– ๐Ÿค“ ๐Ÿ˜.
    
    ๐Ÿ“š ๐Ÿ’ผ, ๐Ÿ“š ๐Ÿ‘ˆ ๐Ÿ‘จโ€๐Ÿ’ผ ๐Ÿ’ช โœ”๏ธ ๐ŸŽ ๐Ÿ†”, โžก๏ธ ๐Ÿ’ฌ `foo` (๐Ÿ‘ฉโ€๐Ÿ’ป `foo`, ๐Ÿš˜ `foo`, &amp; ๐Ÿ“ฐ ๐Ÿค `foo`).
    
    , โŽ ๐Ÿ†” ๐Ÿ’ฅ, ๐Ÿ•โ” ๐Ÿ— ๐Ÿฅ™ ๐Ÿค ๐Ÿ‘ฉโ€๐Ÿ’ป, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ”ก ๐Ÿ’ฒ `sub` ๐Ÿ”‘, โœ… โฎ๏ธ `username:`. , ๐Ÿ‘‰ ๐Ÿ–ผ, ๐Ÿ’ฒ `sub` ๐Ÿ’ช โœ”๏ธ: `username:johndoe`.
    
    โš  ๐Ÿ‘œ โœ”๏ธ ๐Ÿคฏ ๐Ÿ‘ˆ `sub` ๐Ÿ”‘ ๐Ÿ”œ โœ”๏ธ ๐Ÿ˜ ๐Ÿ†” ๐Ÿคญ ๐ŸŽ‚ ๐Ÿˆธ, &amp; โšซ๏ธ ๐Ÿ”œ ๐ŸŽป.
    
    ## โœ… โšซ๏ธ
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/handling-errors.md

    ```Python hl_lines="11"
    {!../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    ### ะ’ะพะทะฒั€ะฐั‰ะฐะตะผั‹ะน ะพั‚ะฒะตั‚
    
    ะ•ัะปะธ ะบะปะธะตะฝั‚ ะทะฐะฟั€ะพัะธั‚ `http://example.com/items/foo` (`item_id` `"foo"`), ั‚ะพ ะพะฝ ะฟะพะปัƒั‡ะธั‚ ัั‚ะฐั‚ัƒั-ะบะพะด 200 ะธ ะพั‚ะฒะตั‚ ะฒ ั„ะพั€ะผะฐั‚ะต JSON:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body-nested-models.md

    ```
    
    Isso significa que o **FastAPI** vai esperar um corpo similar ร :
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": ["rock", "metal", "bar"],
        "image": {
            "url": "http://example.com/baz.jpg",
            "name": "The Foo live"
        }
    }
    ```
    
    Novamente, apenas fazendo essa declaraรงรฃo, com o **FastAPI**, vocรช ganha:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top