Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 896 for fOo (0.01 seconds)

  1. docs_src/dependencies/tutorial004_py310.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    class CommonQueryParams:
        def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: CommonQueryParams = Depends()):
        response = {}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 607 bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/ReplaceByKey.java

    import org.gradle.api.tasks.Optional;
    
    /**
     * An abstract common class to handle replacing key and values under a parent object
     * This class can be subclass to transform the
     * "getKeyToFind": {"requiredChildKey": "foo"}
     * into
     * "getKeyToFind": {"newChildKey": "getReplacementNode"}
     * a getKeyToFind and transformTest would have to be implemented in a subclass
     */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  3. 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 | 팁
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  4. cmd/endpoint_test.go

    	u2, _ := url.Parse("https://example.org/path")
    	u4, _ := url.Parse("http://192.168.253.200/path")
    	rootSlashFoo, _ := filepath.Abs("/foo")
    	testCases := []struct {
    		arg              string
    		expectedEndpoint Endpoint
    		expectedType     EndpointType
    		expectedErr      error
    	}{
    		{"/foo", Endpoint{&url.URL{Path: rootSlashFoo}, true, -1, -1, -1}, PathEndpointType, nil},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  5. docs_src/schema_extra_example/tutorial003_an_py310.py

    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int,
        item: Annotated[
            Item,
            Body(
                examples=[
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ],
            ),
        ],
    ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 673 bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              {
                set("foo");
              }
            };
        assertFalse(future.cancel(true));
        assertFalse(future.isCancelled());
        assertTrue(future.isDone());
      }
    
      public void testGetWithTimeoutDoneFuture() throws Exception {
        AbstractFuture<String> future =
            new AbstractFuture<String>() {
              {
                set("foo");
              }
            };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  7. docs_src/query_params_str_validations/tutorial010_an_py310.py

                min_length=3,
                max_length=50,
                pattern="^fixedquery$",
                deprecated=True,
            ),
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 622 bytes
    - Click Count (0)
  8. cmd/object-api-listobjects_test.go

    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "foo/201910/1112"},
    				{Name: "foo/201910/1122"},
    			},
    		},
    		// ListObjectsResult-38 list with prefix match 1 level deep
    		38: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "foo/201910/1112"},
    				{Name: "foo/201910/1122"},
    				{Name: "foo/201910/2112"},
    				{Name: "foo/201910_txt"},
    			},
    		},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/base/SplitterTest.java

      public void testPatternSplitLookBehind() {
        if (!CommonPattern.isPcreLike()) {
          return;
        }
        String toSplit = ":foo::barbaz:";
        String regexPattern = "(?<=:)";
        Iterable<String> split = Splitter.onPattern(regexPattern).split(toSplit);
        assertThat(split).containsExactly(":", "foo:", ":", "barbaz:").inOrder();
        // splits into chunks ending in :
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

      public void testHashCode_equalsAndSerializable() throws Exception {
        sanityTester().testEqualsAndSerializable();
      }
    
      public void testRoundTripHashCodeUsingBaseEncoding() {
        HashCode hash1 = sha1().hashString("foo", US_ASCII);
        HashCode hash2 = HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString()));
        assertEquals(hash1, hash2);
      }
    
      public void testObjectHashCode() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
Back to Top