Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,098 for FOO (0.02 sec)

  1. tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py

            "/items/5",
            json={
                "importance": 2,
                "item": {"name": "Foo", "price": 50.5},
                "user": {"username": "Dave"},
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 5,
            "importance": 2,
            "item": {
                "name": "Foo",
                "price": 50.5,
                "description": None,
                "tax": None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py

        return client
    
    
    @needs_py39
    def test_query_params_str_validations(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": 42})
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Foo",
            "price": 42,
            "description": None,
            "tax": None,
            "tags": [],
        }
    
    
    @needs_py39
    @needs_pydanticv2
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. docs_src/path_operation_advanced_configuration/tutorial001.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/", operation_id="some_specific_id_you_define")
    async def read_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 167 bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/HostSpecifierTest.java

      private static final ImmutableList<String> GOOD_DOMAINS =
          ImmutableList.of("com", "google.com", "foo.co.uk");
    
      private static final ImmutableList<String> BAD_DOMAINS =
          ImmutableList.of("foo.blah", "", "[google.com]");
    
      public void testGoodIpAddresses() throws ParseException {
        for (String spec : GOOD_IPS) {
          assertGood(spec);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. 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` &amp; `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)
  6. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

      private static final ImmutableList<String> GOOD_DOMAINS =
          ImmutableList.of("com", "google.com", "foo.co.uk");
    
      private static final ImmutableList<String> BAD_DOMAINS =
          ImmutableList.of("foo.blah", "", "[google.com]");
    
      public void testGoodIpAddresses() throws ParseException {
        for (String spec : GOOD_IPS) {
          assertGood(spec);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K 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. istioctl/pkg/multicluster/remote_secret_test.go

    		},
    		{
    			testName: "success",
    			objs:     []runtime.Object{kubeSystemNamespace, sa, saSecret},
    			name:     "cluster-foo",
    			want:     "cal-want",
    		},
    		{
    			testName: "success with type defined",
    			objs:     []runtime.Object{kubeSystemNamespace, sa, saSecret},
    			name:     "cluster-foo",
    			secType:  "config",
    			want:     "cal-want",
    		},
    		{
    			testName:   "failure due to multiple secrets",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    				}
    			}
    		}
    	}
    }
    
    var indexTests = []BinOpTest{
    	{"", "", 0},
    	{"", "a", -1},
    	{"", "foo", -1},
    	{"fo", "foo", -1},
    	{"foo", "baz", -1},
    	{"foo", "foo", 0},
    	{"oofofoofooo", "f", 2},
    	{"oofofoofooo", "foo", 4},
    	{"barfoobarfoo", "foo", 3},
    	{"foo", "", 0},
    	{"foo", "o", 1},
    	{"abcABCabc", "A", 3},
    	// cases with one byte strings - test IndexByte and special case in Index()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InternetDomainName.java

      /**
       * Creates and returns a new {@code InternetDomainName} by prepending the argument and a dot to
       * the current name. For example, {@code InternetDomainName.from("foo.com").child("www.bar")}
       * returns a new {@code InternetDomainName} with the value {@code www.bar.foo.com}. Only lenient
       * validation is performed, as described {@link #from(String) here}.
       *
       * @throws NullPointerException if leftParts is null
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top