- Sort Score
- Result 10 results
- Languages All
Results 671 - 680 of 1,966 for myitem (0.1 sec)
-
tests/test_jsonable_encoder.py
} def test_encode_dataclass(): item = Item(name="foo", count=100) assert jsonable_encoder(item) == {"name": "foo", "count": 100} assert jsonable_encoder(item, include={"name"}) == {"name": "foo"} assert jsonable_encoder(item, exclude={"count"}) == {"name": "foo"} assert jsonable_encoder(item, include={}) == {} assert jsonable_encoder(item, exclude={}) == {"name": "foo", "count": 100}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 9K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/advance.jsp
<div class="col-lg-5 col-md-8 col-sm-7 col-xs-6"> <la:select property="lang" styleId="langSearchOption" multiple="true" styleClass="form-control"> <c:forEach var="item" items="${langItems}"> <la:option value="${f:u(item.value)}">${f:h(item.label)}</la:option> </c:forEach> </la:select> </div> <div class="col-lg-4 d-none d-lg-flex align-items-center"> </div> </div>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 14.9K bytes - Viewed (0) -
tests/test_validate_response_dataclass.py
app = FastAPI() @dataclass class Item: 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/innerinvalid", response_model=Item) def get_innerinvalid():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.2K bytes - Viewed (0) -
cmd/consolelogger.go
console *console.Target nodeName string logBuf *ring.Ring } // NewConsoleLogger - creates new HTTPConsoleLoggerSys with all nodes subscribed to // the console logging pub sub system func NewConsoleLogger(ctx context.Context, w io.Writer) *HTTPConsoleLoggerSys { return &HTTPConsoleLoggerSys{ pubsub: pubsub.New[log.Info, madmin.LogMask](8), console: console.New(w),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/searchOptions.jsp
<label for="contentLang"><la:message key="labels.index_lang" /></label> <la:select property="lang" styleId="langSearchOption" multiple="true" styleClass="form-control"> <c:forEach var="item" items="${langItems}"> <la:option value="${f:u(item.value)}">${f:h(item.label)}</la:option> </c:forEach> </la:select> </fieldset> <c:if test="${displayLabelTypeItems}"> <fieldset class="form-group">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jul 17 08:19:53 UTC 2019 - 3.7K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/searchOptions.jsp
<label for="contentLang"><la:message key="labels.index_lang" /></label> <la:select property="lang" styleId="langSearchOption" multiple="true" styleClass="form-control"> <c:forEach var="item" items="${langItems}"> <la:option value="${f:u(item.value)}">${f:h(item.label)}</la:option> </c:forEach> </la:select> </fieldset> <c:if test="${displayLabelTypeItems}"> <fieldset class="form-group">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jul 17 08:19:53 UTC 2019 - 3.7K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial003_an_py39.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None class User(BaseModel): username: str full_name: Union[str, None] = None @app.put("/items/{item_id}") async def update_item( item_id: int, item: Item, user: User, importance: Annotated[int, Body()] ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 575 bytes - Viewed (0) -
apache-maven/src/site/apt/index.apt.vm
*----------+--------------------------------------------+-----------------------+ || || system level || user level *----------+--------------------------------------------+-----------------------+ || POSIX | <<</etc/mavenrc>>>\
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Aug 20 00:26:03 UTC 2021 - 1.9K bytes - Viewed (0) -
README.md
======= ## Overview
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Jun 19 01:09:45 UTC 2021 - 286 bytes - Viewed (0) -
docs_src/separate_openapi_schemas/tutorial001_py310.py
from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None app = FastAPI() @app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> list[Item]: return [ Item( name="Portal Gun", description="Device to travel through the multi-rick-verse",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 451 bytes - Viewed (0)