Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 623 for food (0.02 seconds)

  1. tests/test_dependency_contextvars.py

    
    @app.middleware("http")
    async def custom_middleware(
        request: Request, call_next: Callable[[Request], Awaitable[Response]]
    ):
        response = await call_next(request)
        response.headers["custom"] = "foo"
        return response
    
    
    @app.get("/user", dependencies=[Depends(set_up_request_state_dependency)])
    def get_user():
        request_state = legacy_request_state_context_var.get()
        assert request_state
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/body-nested-models.md

    Це означатиме, що  **FastAPI**  очікуватиме тіло запиту такого вигляду:
    
    ```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"
        }
    }
    ```
    
    Завдяки такій декларації у **FastAPI** Ви отримуєте:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Feb 28 14:18:01 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/cookie-param-models.md

    如果客户尝试发送一些**额外的 cookie**,他们将收到**错误**响应。
    
    可怜的 cookie 通知条,费尽心思为了获得您的同意,却被<abbr title="这又是一个笑话,别管我了,给您的小饼干(cookie)配上点咖啡吧。☕">API 拒绝了</abbr>。🍪
    
    例如,如果客户端尝试发送一个值为 `good-list-please` 的 `santa_tracker` cookie,客户端将收到一个**错误**响应,告知他们 `santa_tracker` <abbr title="圣诞老人(Santa)不赞成没有小饼干(cookie)。🎅 好吧,不会再开 cookie 的玩笑了。">cookie 是不允许的</abbr>:
    
    ```json
    {
        "detail": [
            {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 10 20:38:03 GMT 2024
    - 3K bytes
    - Click Count (0)
  4. docs/contribute/concurrency.md

    So we have a dedicated thread for every socket that just reads frames and dispatches them.
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/view/admin/webconfig/admin_webconfig_edit.jsp

                    </div>
                </la:form>
            </section>
        </main>
        <jsp:include page="/WEB-INF/view/common/admin/footer.jsp"></jsp:include>
    </div>
    <jsp:include page="/WEB-INF/view/common/admin/foot.jsp"></jsp:include>
    </body>
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
     * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
     * good job of distributing the elements to the buckets to a distribution not far from uniform), and
     * amortized since some operations can trigger a hash table resize.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/CompactLinkedHashSet.java

     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
     * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
     * good job of distributing the elements to the buckets to a distribution not far from uniform), and
     * amortized since some operations can trigger a hash table resize.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RequestLine.kt

          }
          append(" HTTP/1.1")
        }
    
      /**
       * Returns true if the request line should contain the full URL with host and port (like "GET
       * http://android.com/foo HTTP/1.1") or only the path (like "GET /foo HTTP/1.1").
       */
      private fun includeAuthorityInRequestLine(
        request: Request,
        proxyType: Proxy.Type,
      ): Boolean = !request.isHttps && proxyType == Proxy.Type.HTTP
    
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jun 17 00:47:36 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_query_params/test_tutorial003.py

        client = TestClient(mod.app)
        return client
    
    
    @pytest.mark.parametrize(
        ("path", "expected_json"),
        [
            (
                "/items/foo",
                {
                    "item_id": "foo",
                    "description": "This is an amazing item that has a long description",
                },
            ),
            (
                "/items/bar?q=somequery",
                {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_query_params/test_tutorial004.py

        client = TestClient(mod.app)
        return client
    
    
    @pytest.mark.parametrize(
        ("path", "expected_json"),
        [
            (
                "/users/123/items/foo",
                {
                    "item_id": "foo",
                    "owner_id": 123,
                    "description": "This is an amazing item that has a long description",
                },
            ),
            (
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top