Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 409 for item_d (0.05 seconds)

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

  1. docs_src/path_operation_advanced_configuration/tutorial005_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/", openapi_extra={"x-aperture-labs-portal": "blue"})
    async def read_items():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 180 bytes
    - Click Count (0)
  2. docs/tr/docs/python-types.md

    ///
    
    Bunun anlamı şudur: "`items` değişkeni bir `list`tir ve bu listedeki öğelerin her biri bir `str`dir".
    
    Bunu yaparak, düzenleyicinizin listedeki öğeleri işlerken bile destek sağlamasını sağlayabilirsiniz:
    
    <img src="/img/python-types/image05.png">
    
    Tip belirteçleri olmadan, bunu başarmak neredeyse imkansızdır.
    
    `item` değişkeninin `items` listesindeki öğelerden biri olduğuna dikkat edin.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  3. docs_src/path_operation_configuration/tutorial006_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
        return [{"name": "Foo", "price": 42}]
    
    
    @app.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "johndoe"}]
    
    
    @app.get("/elements/", tags=["items"], deprecated=True)
    async def read_elements():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 365 bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/query-params.md

    Wenn Sie nun zu:
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    oder
    
    ```
    http://127.0.0.1:8000/items/foo?short=True
    ```
    
    oder
    
    ```
    http://127.0.0.1:8000/items/foo?short=true
    ```
    
    oder
    
    ```
    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    oder
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

            assertEquals(arr.length, result.length);
            assertEquals(arr[0], result[0]);
    
            // Test ArrayList
            final List<String> list = new ArrayList<>();
            list.add("item1");
            list.add("item2");
            binary = SerializeUtil.fromObjectToBinary(list);
            @SuppressWarnings("unchecked")
            final List<String> resultList = (List<String>) SerializeUtil.fromBinaryToObject(binary);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  6. docs_src/custom_response/tutorial001_py39.py

    from fastapi import FastAPI
    from fastapi.responses import UJSONResponse
    
    app = FastAPI()
    
    
    @app.get("/items/", response_class=UJSONResponse)
    async def read_items():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 197 bytes
    - Click Count (0)
  7. docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py

    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        size: float
    
    
    class ItemV2(BaseModelV2):
        name: str
        description: str | None = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/", response_model=ItemV2)
    async def create_item(item: Item):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 16:45:54 GMT 2025
    - 407 bytes
    - Click Count (0)
  8. docs_src/pydantic_v1_in_v2/tutorial003_an_py39.py

    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        size: float
    
    
    class ItemV2(BaseModelV2):
        name: str
        description: Union[str, None] = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/", response_model=ItemV2)
    async def create_item(item: Item):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 445 bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/query-params.md

    本例中,访问:
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    或
    
    ```
    http://127.0.0.1:8000/items/foo?short=True
    ```
    
    或
    
    ```
    http://127.0.0.1:8000/items/foo?short=true
    ```
    
    或
    
    ```
    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    或
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/handling-errors.md

    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Mas se o cliente faz uma requisição para `http://example.com/items/bar` (ou seja, um não existente `item_id "bar"`), esse cliente receberá um HTTP status code 404 (o erro "não encontrado" — *not found error*), e uma resposta JSON:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | Dica
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top