Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,638 for item1 (0.04 sec)

  1. docs_src/dependencies/tutorial012_an_py39.py

        return x_key
    
    
    app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)])
    
    
    @app.get("/items/")
    async def read_items():
        return [{"item": "Portal Gun"}, {"item": "Plumbus"}]
    
    
    @app.get("/users/")
    async def read_users():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 756 bytes
    - Viewed (0)
  2. docs_src/path_params_numeric_validations/tutorial002_an.py

    from fastapi import FastAPI, Path
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        q: str, item_id: Annotated[int, Path(title="The ID of the item to get")]
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 321 bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/handling-errors.md

    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    But if the client requests `http://example.com/items/bar` (a non-existent `item_id` `"bar"`), that client will receive an HTTP status code of 404 (the "not found" error), and a JSON response of:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip
    
    When raising an `HTTPException`, you can pass any value that can be converted to JSON as the parameter `detail`, not only `str`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. docs_src/sql_databases_peewee/sql_app/schemas.py

    class ItemCreate(ItemBase):
        pass
    
    
    class Item(ItemBase):
        id: int
        owner_id: int
    
        class Config:
            orm_mode = True
            getter_dict = PeeweeGetterDict
    
    
    class UserBase(BaseModel):
        email: str
    
    
    class UserCreate(UserBase):
        password: str
    
    
    class User(UserBase):
        id: int
        is_active: bool
        items: List[Item] = []
    
        class Config:
            orm_mode = True
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 868 bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/elevateword/admin_elevateword_details.jsp

                                            <td><c:forEach var="l" varStatus="s"
                                                           items="${labelTypeItems}">
                                                <c:forEach var="ltid" varStatus="s"
                                                           items="${labelTypeIds}">
                                                    <c:if test="${ltid==l.id}">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 8.3K bytes
    - Viewed (0)
  6. docs/es/docs/python-types.md

    ```Python hl_lines="4"
    {!../../docs_src/python_types/tutorial006.py!}
    ```
    
    Esto significa: la variable `items` es una `list` y cada uno de los ítems en esta lista es un `str`.
    
    Con esta declaración tu editor puede proveerte soporte inclusive mientras está procesando ítems de la lista.
    
    Sin tipos el auto-completado en este tipo de estructura es casi imposible de lograr:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/header.jsp

    												<la:message key="labels.profile" />
    											</la:link>
    										</c:if>
    										<c:if test="${adminUser == true}">
    											<la:link href="/admin" styleClass="dropdown-item">
    												<la:message key="labels.administration" />
    											</la:link>
    										</c:if>
    										<la:link href="/logout/" styleClass="dropdown-item">
    											<la:message key="labels.logout" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 24 03:00:28 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/orig/view/header.jsp

    												<la:message key="labels.profile" />
    											</la:link>
    										</c:if>
    										<c:if test="${adminUser == true}">
    											<la:link href="/admin" styleClass="dropdown-item">
    												<la:message key="labels.administration" />
    											</la:link>
    										</c:if>
    										<la:link href="/logout/" styleClass="dropdown-item">
    											<la:message key="labels.logout" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 24 03:00:28 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py

                            },
                        },
                        "summary": "Read Items",
                        "operationId": "read_items_items__item_id__put",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {
                                    "title": "Item Id",
                                    "type": "string",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/orig/view/index.jsp

    									<c:forEach var="item" varStatus="s" items="${popularWords}">
    										<c:if test="${s.index < 3}">
    											<la:link
    												href="/search?q=${f:u(item)}${fe:facetQuery()}${fe:geoQuery()}">${f:h(item)}</la:link>
    										</c:if>
    										<c:if test="${3 <= s.index}">
    											<la:link styleClass="d-none d-sm-inline"
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top