Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 998 for itens (0.31 seconds)

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

  1. docs_src/body_fields/tutorial001_an_py39.py

            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
        results = {"item_id": item_id, "item": item}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 582 bytes
    - Click Count (0)
  2. src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji.jsp

                                                <tbody>
                                                <c:forEach var="data" varStatus="s"
                                                           items="${kuromojiItemItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/dict/kuromoji/details/${f:u(dictId)}/4/${f:u(data.id)}">
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. src/main/webapp/WEB-INF/view/admin/webauth/admin_webauth_edit.jsp

                                                       styleClass="form-control">
                                                <c:forEach var="item" items="${protocolSchemeItems}">
                                                    <la:option value="${f:u(item.value)}">${f:h(item.label)}</la:option>
                                                </c:forEach>
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. docs_src/dependencies/tutorial008d_py39.py

        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 694 bytes
    - Click Count (0)
  5. docs/es/docs/python-types.md

    ///
    
    Eso significa: "la variable `items` es una `list`, y cada uno de los ítems en esta lista es un `str`".
    
    Al hacer eso, tu editor puede proporcionar soporte incluso mientras procesa elementos de la lista:
    
    <img src="/img/python-types/image05.png">
    
    Sin tipos, eso es casi imposible de lograr.
    
    Nota que la variable `item` es uno de los elementos en la lista `items`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  6. docs_src/dependencies/tutorial008d_an_py39.py

        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 734 bytes
    - Click Count (0)
  7. docs_src/dependencies/tutorial012_an_py39.py

            raise HTTPException(status_code=400, detail="X-Key header invalid")
        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():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 746 bytes
    - Click Count (0)
  8. docs_src/path_operation_configuration/tutorial004_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, summary="Create an item")
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 638 bytes
    - Click Count (0)
  9. src/main/webapp/css/style.css

    #result ol li {
    	margin: 1em 0;
    }
    
    #result ol li:first-child {
    	margin-top: 0;
    }
    
    #result .title a:visited {
    	color: #014c8c;
    }
    
    #result .body {
    	display: flex;
    	align-items: flex-start;
    }
    
    #result .site cite {
    	color: #093;
    	font-style: normal;
    }
    
    #result .more {
    	display: none;
    }
    
    #result .info {
    	font-size: 80%;
    }
    
    #result .url-copy {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. docs_src/handling_errors/tutorial006_py39.py

    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc):
        print(f"OMG! The client sent invalid data!: {exc}")
        return await request_validation_exception_handler(request, exc)
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int):
        if item_id == 3:
            raise HTTPException(status_code=418, detail="Nope! I don't like 3.")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 928 bytes
    - Click Count (0)
Back to Top