- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 724 for tag2 (0.04 sec)
-
docs_src/path_operation_configuration/tutorial003_py39.py
name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: set[str] = set() @app.post( "/items/", response_model=Item, summary="Create an item", description="Create an item with all the information, name, description, price, tax and a set of unique tags", ) async def create_item(item: Item):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 512 bytes - Viewed (0) -
.teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt
projectId = "Check", branch = VersionedSettingsBranch.fromDslContext(), buildScanTags = listOf("Check"), subprojects = subprojectProvider ) @Test fun `test stage tags`() { assertEquals( "-DbuildScan.PartOf=QuickFeedbackLinuxOnly,QuickFeedback,PullRequestFeedback,ReadyforNightly,ReadyforRelease", model.stages[0].getBuildScanCustomValueParam() )
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Sep 30 07:24:00 UTC 2024 - 1.7K bytes - Viewed (0) -
docs_src/body_updates/tutorial001_py39.py
description: Union[str, None] = None price: Union[float, None] = None tax: float = 10.5 tags: list[str] = [] items = { "foo": {"name": "Foo", "price": 50.2}, "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2}, "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []}, } @app.get("/items/{item_id}", response_model=Item)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 900 bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.7K bytes - Viewed (0) -
cmd/utils.go
entry.API.Status = opts.Status entry.Tags = make(map[string]interface{}, len(opts.Tags)) for k, v := range opts.Tags { entry.Tags[k] = v } // Merge tag information if found - this is currently needed for tags // set during decommissioning. if reqInfo := logger.GetReqInfo(ctx); reqInfo != nil { reqInfo.PopulateTagsMap(opts.Tags) } ctx = logger.SetAuditEntry(ctx, &entry)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 31.9K bytes - Viewed (0) -
tests/test_include_router_defaults_overrides.py
500: {"description": "Server error level 0"}, }, default_response_class=ResponseLevel0, callbacks=callback_router0.routes, ) router2_override = APIRouter( prefix="/level2", tags=["level2a", "level2b"], dependencies=[Depends(dep2)], responses={ 402: {"description": "Client error level 2"}, 502: {"description": "Server error level 2"}, },
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 358.6K bytes - Viewed (0) -
schema/index.go
for _, value := range strings.Split(field.Tag.Get("gorm"), ";") { if value != "" { v := strings.Split(value, ":") k := strings.TrimSpace(strings.ToUpper(v[0])) if k == "INDEX" || k == "UNIQUEINDEX" { var ( name string tag = strings.Join(v[1:], ":") idx = strings.Index(tag, ",") tagSetting = strings.Join(strings.Split(tag, ",")[1:], ",")
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 3.7K bytes - Viewed (0) -
tests/test_tutorial/test_metadata/test_tutorial004.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
{!> ../../docs_src/body_nested_models/tutorial002.py!} ``` //// ## Set types But then we think about it, and realize that tags shouldn't repeat, they would probably be unique strings. And Python has a special data type for sets of unique items, the `set`. Then we can declare `tags` as a set of strings: //// tab | Python 3.10+ ```Python hl_lines="12" {!> ../../docs_src/body_nested_models/tutorial003_py310.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/PrunedTag.java
import org.w3c.dom.Node; public class PrunedTag { private final String tag; private String id; private String css; private String attrName; private String attrValue; public PrunedTag(final String tag) { this.tag = tag; } public boolean matches(final Node node) { if (tag.equalsIgnoreCase(node.getNodeName())) { if (attrName != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.8K bytes - Viewed (0)