Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,224 for update (0.04 sec)

  1. docs_src/body/tutorial002_py310.py

    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item):
        item_dict = item.dict()
        if item.tax:
            price_with_tax = item.price + item.tax
            item_dict.update({"price_with_tax": price_with_tax})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 429 bytes
    - Viewed (0)
  2. docs_src/path_params_numeric_validations/tutorial001.py

    async def read_items(
        item_id: int = Path(title="The ID of the item to get"),
        q: Union[str, None] = Query(default=None, alias="item-query"),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 364 bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/merge/MavenToolchainMerger.java

            if (dominant == null || recessive == null) {
                return;
            }
    
            recessive.setSourceLevel(recessiveSourceLevel);
    
            dominant.update(new org.apache.maven.toolchain.v4.MavenToolchainsMerger()
                    .merge(dominant.getDelegate(), recessive.getDelegate(), true, null));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/profile/index.jsp

    						</la:link>
    						<button type="submit" name="changePassword"
    							class="btn btn-success"
    							value="<la:message key="labels.profile.update"/>">
    							<em class="fa fa-pencil-alt">
    							<la:message key="labels.profile.update" />
    						</button>
    					</div>
    				</la:form>
    			</div>
    		</div>
    	</div>
    	<input type="hidden" id="contextPath" value="${contextPath}" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. cmd/data-scanner-metric.go

    }
    
    // currentPathUpdater provides a lightweight update function for keeping track of
    // current objects for each disk.
    // Returns a function that can be used to update the current object
    // and a function to call to when processing finished.
    func (p *scannerMetrics) currentPathUpdater(disk, initial string) (update func(path string), done func()) {
    	initialPtr := unsafe.Pointer(&initial)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. docs_src/body/tutorial004_py310.py

    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item, q: str | None = None):
        result = {"item_id": item_id, **item.dict()}
        if q:
            result.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 09 14:28:58 UTC 2024
    - 408 bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LongAdder.java

     * (method {@link #add}) are contended across threads, the set of variables may grow dynamically to
     * reduce contention. Method {@link #sum} (or, equivalently, {@link #longValue}) returns the current
     * total combined across the variables maintaining the sum.
     *
     * <p>This class is usually preferable to {@link AtomicLong} when multiple threads update a common
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  8. docs_src/query_params_str_validations/tutorial008_an_py310.py

                min_length=3,
            ),
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 498 bytes
    - Viewed (0)
  9. cmd/s3-zip-handlers.go

    			oi.UserDefined[archiveTypeMetadataKey] = at
    			oi.UserDefined[archiveInfoMetadataKey] = zipInfoStr
    			return dsc, nil
    		},
    	}
    
    	// For all other modes use in-place update to update metadata on a specific version.
    	if _, err = objectAPI.PutObjectMetadata(ctx, bucket, object, popts); err != nil {
    		return nil, err
    	}
    
    	return zipInfo, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

            kuromojiItem1.setNewToken("TOKEN1");
            kuromojiItem1.setNewSegmentation("SEG1");
            kuromojiItem1.setNewReading("READING1");
            kuromojiItem1.setNewPos("POS1");
            kuromojiFile.update(kuromojiItem1);
            final PagingList<KuromojiItem> itemList2 = kuromojiFile.selectList(0,
                    20);
            assertEquals(3, itemList2.size());
            final KuromojiItem kuromojiItem2 = itemList2.get(0);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top