Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 325 for bar1 (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_tutorial/test_body_nested_models/test_tutorial004.py

        response = client.put(
            "/items/123",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
                "tags": ["foo", "bar", "foo"],
                "image": {"url": "http://example.com/image.png", "name": "example image"},
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "item_id": 123,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. docs/de/docs/_llm-test.md

    Die Tests:
    
    ## Codeschnipsel { #code-snippets }
    
    //// tab | Test
    
    Dies ist ein Codeschnipsel: `foo`. Und dies ist ein weiteres Codeschnipsel: `bar`. Und noch eins: `baz quux`.
    
    ////
    
    //// tab | Info
    
    Der Inhalt von Codeschnipseln sollte unverändert bleiben.
    
    Siehe Abschnitt `### Content of code snippets` im allgemeinen Prompt in `scripts/translate.py`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/hash/FunnelsTest.java

        Funnel<Iterable<?>> sequential = sequentialFunnel(elementFunnel);
        sequential.funnel(Arrays.asList("foo", "bar", "baz", "quux"), primitiveSink);
        InOrder inOrder = inOrder(elementFunnel);
        inOrder.verify(elementFunnel).funnel("foo", primitiveSink);
        inOrder.verify(elementFunnel).funnel("bar", primitiveSink);
        inOrder.verify(elementFunnel).funnel("baz", primitiveSink);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  4. docs_src/dependencies/tutorial003_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=Depends(CommonQueryParams)):
        response = {}
        if commons.q:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 603 bytes
    - Click Count (0)
  5. src/archive/zip/testdata/unix.zip

    hello world dir/bar foo readonly important...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 620 bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/query-params-str-validations.md

    Тогда при таком URL:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    вы получите множественные значения *query-параметров* `q` (`foo` и `bar`) в виде Python-`list` внутри вашей *функции-обработчика пути*, в *параметре функции* `q`.
    
    Таким образом, ответ на этот URL будет:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    /// tip | Совет
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  7. src/test/resources/org/codelibs/core/xml/included.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <foo>
    	<bar/>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Dec 28 09:01:06 GMT 2014
    - 60 bytes
    - Click Count (0)
  8. docs_src/dependencies/tutorial006_an_py310.py

        return x_key
    
    
    @app.get("/items/", dependencies=[Depends(verify_token), Depends(verify_key)])
    async def read_items():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 633 bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/header-params.md

    {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *}
    
    If you communicate with that *path operation* sending two HTTP headers like:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    The response would be like:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## Recap { #recap }
    
    Declare headers with `Header`, using the same common pattern as `Query`, `Path` and `Cookie`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. docs_src/additional_status_codes/tutorial001_py310.py

    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: str | None = Body(default=None),
        size: int | None = Body(default=None),
    ):
        if item_id in items:
            item = items[item_id]
            item["name"] = name
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 646 bytes
    - Click Count (0)
Back to Top