Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 831 for fOo (0.01 seconds)

  1. docs_src/query_params_str_validations/tutorial008_py310.py

            default=None,
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
        ),
    ):
        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
    - 434 bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .build(),
        )
    
        val url = server.url("/same")
    
        // First QUERY request with body "foo"
        val request1 =
          Request
            .Builder()
            .url(url)
            .query("foo".toRequestBody())
            .cacheUrlOverride(url.newBuilder().addQueryParameter("body", "foo").build())
            .build()
        val response1 = client.newCall(request1).execute()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

        assertUnescaped(e, '@');
    
        // Don't use plus for spaces
        assertEscaping(e, "%20", ' ');
    
        assertThat(e.escape("safe with spaces")).isEqualTo("safe%20with%20spaces");
        assertThat(e.escape("foo@bar.com")).isEqualTo("foo@bar.com");
      }
    
      private UrlEscaperTesting() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  4. docs_src/query_params_str_validations/tutorial006_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str = Query(min_length=3)):
        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: Thu Feb 12 13:19:43 GMT 2026
    - 254 bytes
    - Click Count (0)
  5. docs_src/additional_status_codes/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import Body, FastAPI, status
    from fastapi.responses import JSONResponse
    
    app = FastAPI()
    
    items = {"foo": {"name": "Fighters", "size": 6}, "bar": {"name": "Tenders", "size": 3}}
    
    
    @app.put("/items/{item_id}")
    async def upsert_item(
        item_id: str,
        name: Annotated[str | None, Body()] = None,
        size: Annotated[int | None, Body()] = None,
    ):
        if item_id in items:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 686 bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                    // foo(String, Object) vs. foo(Object, String))
                    return INCOMPARABLE;
                }
    
                return MORE_SPECIFIC;
            }
    
            if (c2MoreSpecific) {
                return LESS_SPECIFIC;
            }
    
            // Incomparable due to non-related arguments (i.e.
            // foo(Runnable) vs. foo(Serializable))
            return INCOMPARABLE;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * <th>{@literal Map} Property Name</th>
         * </tr>
         * <tr>
         * <td>{@literal foo}</td>
         * <td>{@literal foo}</td>
         * </tr>
         * <tr>
         * <td>{@literal foo_bar}</td>
         * <td>{@literal foo.bar}</td>
         * </tr>
         * <tr>
         * <td>{@literal foo_bar_baz}</td>
         * <td>{@literal foo.bar.baz}</td>
         * </tr>
         * </table>
         *
         * @param beanDelimiter
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. docs_src/additional_responses/tutorial004_py310.py

    )
    async def read_item(item_id: str, img: bool | None = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 669 bytes
    - Click Count (0)
  9. docs_src/schema_extra_example/tutorial001_py310.py

        description: str | None = None
        price: float
        tax: float | None = None
    
        model_config = {
            "json_schema_extra": {
                "examples": [
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
            }
        }
    
    
    @app.put("/items/{item_id}")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 646 bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/Optional.java

       * {@code Optional} class. However, this common usage:
       *
       * {@snippet :
       * for (Foo foo : possibleFoo.asSet()) {
       *   doSomethingWith(foo);
       * }
       * }
       *
       * ... can be replaced with:
       *
       * {@snippet :
       * possibleFoo.ifPresent(foo -> doSomethingWith(foo));
       * }
       *
       * <p><b>Java 9 users:</b> some use cases can be written with calls to {@code optional.stream()}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top