- Sort Score
- Result 10 results
- Languages All
Results 1791 - 1800 of 4,204 for Hint (0.02 sec)
-
docs/fr/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): 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} ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 22K bytes - Viewed (0) -
docs/es/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): 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} ``` El servidor `fastapi dev` debería recargarse automáticamente.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 24.3K bytes - Viewed (0) -
docs/zh-hant/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): 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` 的選項)。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 18.8K bytes - Viewed (0) -
docs/pt/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): 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} ``` O servidor `fastapi dev` deverá recarregar automaticamente.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 20:32:40 UTC 2025 - 24.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SingletonImmutableTable.java
return ImmutableSet.of(singleValue); } @Override @J2ktIncompatible @GwtIncompatible Object writeReplace() { return SerializedForm.create(this, new int[] {0}, new int[] {0}); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributeIterator.java
setPosition(1); } return (attribute == null) ? null : new Xpp3DomAttributePointer(parent, attribute); } @Override public int getPosition() { return position; } @Override public boolean setPosition(int position) { this.position = position; attribute = (position > 0 && position <= attributes.size()) ? attributes.get(position - 1) : null;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.3K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial003_py310.py
price: float tax: float | None = None class User(BaseModel): username: str full_name: str | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item, user: User, importance: int = Body()): results = {"item_id": item_id, "item": item, "user": user, "importance": importance}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 504 bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
*/ protected static String read(final Reader reader, final int initialCapacity) { int bufferSize; if (initialCapacity > 0 && initialCapacity <= MAX_BUF_SIZE) { bufferSize = initialCapacity; } else { bufferSize = DEFAULT_BUF_SIZE; } char[] buf = new char[bufferSize]; int size = 0; int len; try {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
/** * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") class MethodMap { private static final int MORE_SPECIFIC = 0; private static final int LESS_SPECIFIC = 1; private static final int INCOMPARABLE = 2; /** * Keep track of all methods with the same name. */ private final Map<String, List<Method>> methodByNameMap = new Hashtable<>();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 14.2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 17 07:40:49 UTC 2025 - 16.6K bytes - Viewed (0)