Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 585 for food (0.02 sec)

  1. docs/uk/docs/tutorial/header-params.md

    Якщо Ви взаємодієте з цією операцією шляху, надсилаючи два HTTP-заголовки, наприклад:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    Відповідь буде така:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## Підсумок
    
    Оголошуйте заголовки за допомогою `Header`, використовуючи той самий підхід, що й для `Query`, `Path` та `Cookie`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 22 22:02:19 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. android/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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_dataclasses/test_tutorial003.py

        return client
    
    
    def test_post_authors_item(client: TestClient):
        response = client.post(
            "/authors/foo/items/",
            json=[{"name": "Bar"}, {"name": "Baz", "description": "Drop the Baz"}],
        )
        assert response.status_code == 200
        assert response.json() == {
            "name": "foo",
            "items": [
                {"name": "Bar", "description": None},
                {"name": "Baz", "description": "Drop the Baz"},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. tests/test_dependency_after_yield_streaming.py

    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.responses import StreamingResponse
    from fastapi.testclient import TestClient
    
    
    class Session:
        def __init__(self) -> None:
            self.data = ["foo", "bar", "baz"]
            self.open = True
    
        def __iter__(self) -> Generator[str, None, None]:
            for item in self.data:
                if self.open:
                    yield item
                else:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. docs_src/path_operation_advanced_configuration/tutorial003_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/", include_in_schema=False)
    async def read_items():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 148 bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMultimap.java

       * Returns a new builder with a hint for how many distinct keys are expected to be added. The
       * generated builder is equivalent to that returned by {@link #builder}, but may perform better if
       * {@code expectedKeys} is a good estimate.
       *
       * @throws IllegalArgumentException if {@code expectedKeys} is negative
       * @since 33.3.0
       */
      public static <K, V> Builder<K, V> builderWithExpectedKeys(int expectedKeys) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial001.py hl[11] *}
    
    ### Отримана відповідь
    
    Якщо клієнт робить запит за шляхом `http://example.com/items/foo` (де `item_id` `"foo"`), він отримає статус-код 200 і JSON відповідь:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_python_types/test_tutorial007.py

    from docs_src.python_types.tutorial007_py39 import process_items
    
    
    def test_process_items():
        items_t = (1, 2, "foo")
        items_s = {b"a", b"b", b"c"}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 220 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body_multiple_params/test_tutorial003.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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. docs_src/query_params/tutorial001_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}]
    
    
    @app.get("/items/")
    async def read_item(skip: int = 0, limit: int = 10):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 250 bytes
    - Viewed (0)
Back to top