Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 909 for item01 (0.05 seconds)

  1. docs/pt/docs/python-types.md

    ///
    
    Isso significa: "a variável `items` é uma `list`, e cada um dos itens desta lista é uma `str`".
    
    Ao fazer isso, seu editor pode fornecer suporte mesmo durante o processamento de itens da lista:
    
    <img src="/img/python-types/image05.png">
    
    Sem tipos, isso é quase impossível de alcançar.
    
    Observe que a variável `item` é um dos elementos da lista `items`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.7K 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. src/main/webapp/WEB-INF/view/admin/joblog/admin_joblog.jsp

                                                </tr>
                                                </thead>
                                                <tbody>
                                                <c:forEach var="data" varStatus="s" items="${jobLogItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/joblog/details/4/${f:u(data.id)}">
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  4. docs/uk/docs/python-types.md

    Зробивши це, ваш редактор може надати підтримку навіть під час обробки елементів зі списку:
    
    <img src="/img/python-types/image05.png">
    
    Без типів цього майже неможливо досягти.
    
    Зверніть увагу, що змінна `item` є одним із елементів у списку `items`.
    
    І все ж редактор знає, що це `str`, і надає підтримку для цього.
    
    #### Tuple and Set (кортеж та набір)
    
    Ви повинні зробити те ж саме, щоб оголосити `tuple` і `set`:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 19.4K bytes
    - Click Count (0)
  5. tests/test_additional_properties.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Items(BaseModel):
        items: dict[str, int]
    
    
    @app.post("/foo")
    def foo(items: Items):
        return items.items
    
    
    client = TestClient(app)
    
    
    def test_additional_properties_post():
        response = client.post("/foo", json={"items": {"foo": 1, "bar": 2}})
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_body_nested_models/test_tutorial007.py

                            },
                            "items": {
                                "title": "Items",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/Item"},
                            },
                        },
                        "required": ["name", "price", "items"],
                        "title": "Offer",
                        "type": "object",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/bigger-applications.md

    * look for the subpackage `routers` (the directory at `app/routers/`)...
    * and from it, import the submodule `items` (the file at `app/routers/items.py`) and `users` (the file at `app/routers/users.py`)...
    
    The module `items` will have a variable `router` (`items.router`). This is the same one we created in the file `app/routers/items.py`, it's an `APIRouter` object.
    
    And then we do the same for the module `users`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       */
      private E extract() {
        E[] items = this.items;
        E x = items[takeIndex];
        items[takeIndex] = null;
        takeIndex = inc(takeIndex);
        --count;
        return x;
      }
    
      /**
       * Utility for remove and iterator.remove: Delete item at position i. Call only when occupying
       * monitor.
       */
      void removeAt(int i) {
        E[] items = this.items;
        // if removing front item, just advance
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  9. tests/test_validate_response.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    
    
    @app.get("/items/invalidnone", response_model=Item)
    def get_invalid_none():
        return None
    
    
    @app.get("/items/validnone", response_model=Union[Item, None])
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_generate_clients/test_tutorial002.py

                                        "schema": {
                                            "title": "Response Get Items Items  Get",
                                            "type": "array",
                                            "items": {"$ref": "#/components/schemas/Item"},
                                        }
                                    }
                                },
                            }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top