- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 834 for ITEM (0.02 sec)
-
docs_src/dataclasses/tutorial003.py
@dataclass class Item: name: str description: Union[str, None] = None @dataclass class Author: name: str items: List[Item] = field(default_factory=list) # (3) app = FastAPI() @app.post("/authors/{author_id}/items/", response_model=Author) # (4) async def create_author_items(author_id: str, items: List[Item]): # (5)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Jul 31 14:09:15 UTC 2024 - 1.4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy
} def implicitlyEndsCurrentLiAtNextLiElement() { _ * classMetaData.rawCommentText >> '''<ul><li>item 1<li>item 2</ul>''' when: def result = parser.parse(classMetaData, listener) then: format(result.docbook) == '''<itemizedlist><listitem>item 1</listitem><listitem>item 2</listitem></itemizedlist>''' } def convertsUlAndLiElementsToItemizedListElements() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 14.2K bytes - Viewed (0) -
docs_src/path_params_numeric_validations/tutorial001_an.py
from typing_extensions import Annotated app = FastAPI() @app.get("/items/{item_id}") async def read_items( item_id: Annotated[int, Path(title="The ID of the item to get")], q: Annotated[Union[str, None], Query(alias="item-query")] = None, ): 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 - 417 bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/dict/stopwords/admin_dict_stopwords_details.jsp
<ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><la:link href="/admin/dict"> <la:message key="labels.dict_list_link"/> </la:link></li> <li class="breadcrumb-item"><la:link href="../list/1/?dictId=${f:u(dictId)}"> <la:message key="labels.dict_stopwords_list_link"/>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 7.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/badword/admin_badword_download.jsp
<ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><la:link href="/admin/badword"> <la:message key="labels.bad_word_link_list"/> </la:link></li> <li class="breadcrumb-item active"><la:message key="labels.bad_word_link_download"/></li>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 5.3K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/wizard/admin_wizard_start.jsp
<li class="breadcrumb-item"><la:link href="/admin/wizard/"> <la:message key="labels.wizard_start_title"/> </la:link></li> <li class="breadcrumb-item"><la:message key="labels.wizard_crawling_config_title"/></li> <li class="breadcrumb-item active"><la:message
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
} if (elements.length > 1) { /* * When a test requests a multiset with duplicates, our plan of * "add an extra item 0 to A and an extra item 1 to B" really means * "add an extra item 0 to A and B," which isn't what we want. */ if (!Objects.equal(elements[0], elements[1])) { multiset2.add(elements[1], 2); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/query-params.md
"type": "value_error.missing" } ] } ``` `needy` 是必选参数,因此要在 URL 中设置值: ``` http://127.0.0.1:8000/items/foo-item?needy=sooooneedy ``` ……这样就正常了: ```JSON { "item_id": "foo-item", "needy": "sooooneedy" } ``` 当然,把一些参数定义为必选,为另一些参数设置默认值,再把其它参数定义为可选,这些操作都是可以的: //// tab | Python 3.10+ ```Python hl_lines="8"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/dict/mapping/admin_dict_mapping_edit.jsp
<ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><la:link href="/admin/dict"> <la:message key="labels.dict_list_link"/> </la:link></li> <li class="breadcrumb-item"><la:link href="../list/1/?dictId=${f:u(dictId)}"> <la:message key="labels.dict_mapping_list_link"/>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 7.5K bytes - Viewed (0) -
docs_src/body_nested_models/tutorial007_py310.py
class Image(BaseModel): url: HttpUrl name: str class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() images: list[Image] | None = None class Offer(BaseModel): name: str description: str | None = None price: float items: list[Item] @app.post("/offers/") async def create_offer(offer: Offer):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 520 bytes - Viewed (0)