Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,476 for item$ (0.52 sec)

  1. pkg/api/testing/applyconfiguration_test.go

    	items := benchmarkItems(b)
    	convertor := runtime.DefaultUnstructuredConverter
    	unstr := make([]map[string]interface{}, len(items))
    	for i := range items {
    		item, err := convertor.ToUnstructured(&items[i])
    		if err != nil || item == nil {
    			b.Fatalf("unexpected error: %v", err)
    		}
    		unstr = append(unstr, item)
    	}
    	size := len(items)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		builder := &v1mf.PodApplyConfiguration{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  2. docs_src/body_updates/tutorial002.py

    }
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_item(item_id: str):
        return items[item_id]
    
    
    @app.patch("/items/{item_id}", response_model=Item)
    async def update_item(item_id: str, item: Item):
        stored_item_data = items[item_id]
        stored_item_model = Item(**stored_item_data)
        update_data = item.dict(exclude_unset=True)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1K bytes
    - Viewed (0)
  3. src/text/template/parse/lex_test.go

    	for _, test := range lexPosTests {
    		items := collect(&test, "", "")
    		if !equal(items, test.items, true) {
    			t.Errorf("%s: got\n\t%v\nexpected\n\t%v", test.name, items, test.items)
    			if len(items) == len(test.items) {
    				// Detailed print; avoid item.String() to expose the position value.
    				for i := range items {
    					if !equal(items[i:i+1], test.items[i:i+1], true) {
    						i1 := items[i]
    						i2 := test.items[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 15:03:43 UTC 2022
    - 13.9K bytes
    - Viewed (0)
  4. pkg/util/removeall/removeall_test.go

    		defer os.RemoveAll(tmpDir)
    		// Create the directory structure
    		for _, item := range test.items {
    			if strings.HasSuffix(item, "/") {
    				item = strings.TrimRight(item, "/")
    				if err = os.Mkdir(filepath.Join(tmpDir, item), 0777); err != nil {
    					t.Fatalf("error creating %s: %v", item, err)
    				}
    			} else {
    				f, err := os.Create(filepath.Join(tmpDir, item))
    				if err != nil {
    					t.Fatalf("error creating %s: %v", item, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 20:35:13 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/systeminfo/admin_systeminfo.jsp

                            <div class="card-body">
    								<textarea id="envData" class="systemInfoData form-control"
                                              readonly>
    <c:forEach var="item" items="${envItems}">${f:h(item.label)}=${f:h(item.value)}
    </c:forEach>
    								</textarea>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6">
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 4.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_schema_extra_example/test_tutorial004.py

            "paths": {
                "/items/{item_id}": {
                    "put": {
                        "summary": "Update Item",
                        "operationId": "update_item_items__item_id__put",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "Item Id", "type": "integer"},
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            final SuggestItem item = new SuggestItem();
            item.text = text;
            item.readings = readings.toArray(new String[readings.size()][]);
            item.fields = fields.toArray(new String[fields.size()]);
            item.docFreq = docFreq;
            item.queryFreq = queryFreq;
            item.userBoost = userBoost;
            item.tags = tags.toArray(new String[tags.size()]);
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py

                        },
                        "summary": "Create an item",
                        "description": "Create an item with all the information:\n\n- **name**: each item must have a name\n- **description**: a long description\n- **price**: required\n- **tax**: if the item doesn't have tax, you can omit this\n- **tags**: a set of unique tag strings for this item",
                        "operationId": "create_item_items__post",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py39.py

            "paths": {
                "/items/{item_id}": {
                    "put": {
                        "summary": "Update Item",
                        "operationId": "update_item_items__item_id__put",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "Item Id", "type": "integer"},
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. docs_src/bigger_applications/app/routers/items.py

    from fastapi import APIRouter, Depends, HTTPException
    
    from ..dependencies import get_token_header
    
    router = APIRouter(
        prefix="/items",
        tags=["items"],
        dependencies=[Depends(get_token_header)],
        responses={404: {"description": "Not found"}},
    )
    
    
    fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}}
    
    
    @router.get("/")
    async def read_items():
        return fake_items_db
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Nov 29 17:32:18 UTC 2020
    - 1011 bytes
    - Viewed (0)
Back to top