- Sort Score
- Result 10 results
- Languages All
Results 1251 - 1260 of 2,210 for myitem (0.29 sec)
-
docs_src/dependencies/tutorial006_an_py39.py
raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key @app.get("/items/", dependencies=[Depends(verify_token), Depends(verify_key)]) async def read_items():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 633 bytes - Viewed (0) -
docs_src/extra_models/tutorial004_py39.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str items = [ {"name": "Foo", "description": "There comes my hero"}, {"name": "Red", "description": "It's my aeroplane"}, ] @app.get("/items/", response_model=list[Item]) async def read_items():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 356 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
import org.codelibs.fess.exception.JobProcessingException; import org.codelibs.fess.util.InputStreamThread; import org.codelibs.fess.util.JobProcess; import jakarta.annotation.PreDestroy; /** * Helper class for managing system processes in Fess. * This class provides functionality to start, stop, and manage external processes * such as crawler processes, with proper resource cleanup and lifecycle management. */ public class ProcessHelper {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 06:54:47 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
} @Test @DisplayName("EmptyIterator should be lightweight and efficient") void testPerformanceCharacteristics() { // When - create many instances quickly long startTime = System.currentTimeMillis(); for (int i = 0; i < 10000; i++) { EmptyIterator iterator = new EmptyIterator(); iterator.hasNext(); iterator.next(); iterator.remove();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
tests/test_validate_response_recursive/app.py
@app.get("/items/recursive", response_model=RecursiveItem) def get_recursive(): return {"name": "item", "sub_items": [{"name": "subitem", "sub_items": []}]} @app.get("/items/recursive-submodel", response_model=RecursiveItemViaSubmodel) def get_recursive_submodel(): return { "name": "item", "sub_items1": [ { "name": "subitem", "sub_items2": [
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 1.1K bytes - Viewed (0) -
docs/zh/docs/index.md
return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item): return {"item_name": item.name, "item_id": item_id} ``` 服务器将会自动重载(因为在上面的步骤中你向 `uvicorn` 命令添加了 `--reload` 选项)。 ### 交互式 API 文档升级 访问 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 18.2K bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image04.py
context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_role("button", name="Item-Input").click() page.get_by_role("button", name="Item-Output").click() page.set_viewport_size({"width": 960, "height": 820}) # Manually add the screenshot page.screenshot(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Sep 13 09:14:46 UTC 2024 - 1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
* limitations under the License. */ package com.google.common.collect.testing.google; import static com.google.common.collect.Lists.charactersOf; import static java.lang.System.arraycopy; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableList; import com.google.common.collect.testing.TestCharacterListGenerator;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
import org.apache.maven.model.building.ModelProblemCollector; import org.apache.maven.model.profile.ProfileActivationContext; import org.apache.maven.utils.Os; /** * Determines profile activation based on the operating system of the current runtime platform. * * @see ActivationOS * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Named("os") @Singleton @Deprecated(since = "4.0.0")Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
public Boolean get() { // Check that this method is called exactly once, by the first // thread to synchronize. long t0 = System.nanoTime(); while (waitingThreads() != numThreads - 1) { if (System.nanoTime() - t0 > timeout) { thrown.set( new TimeoutException( "timed out waiting for other threads to block"
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.9K bytes - Viewed (0)