- Sort Score
- Result 10 results
- Languages All
Results 1571 - 1580 of 3,994 for getZ (0.02 sec)
-
docs_src/cookie_params/tutorial001_py310.py
from fastapi import Cookie, FastAPI app = FastAPI() @app.get("/items/") async def read_items(ads_id: str | None = Cookie(default=None)):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 170 bytes - Viewed (0) -
docs_src/configure_swagger_ui/tutorial003_py39.py
from fastapi import FastAPI app = FastAPI(swagger_ui_parameters={"deepLinking": False}) @app.get("/users/{username}") async def read_user(username: str):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 201 bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* .transform((closer, result) -> result.get("userName"), directExecutor()) * .catching(DBException.class, e -> "no user", directExecutor()) * .finishToValueAndCloser( * valueAndCloser -> this.userNameValueAndCloser = valueAndCloser, executor); * * // later * try { // get() will throw if the operation failed or was cancelled. * UserName userName = userNameValueAndCloser.get(); * // do something with userName
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 13:51:27 UTC 2025 - 96.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
Object newArg = argGenerators.get(i).generateFresh(params.get(i).getType()); if (newArg == null || Objects.equals(args.get(i), newArg)) { if (params.get(i).getType().getRawType().isEnum()) { continue; // Nothing better we can do if it's single-value enum } throw new ParameterHasNoDistinctValueException(params.get(i)); } newArgs.set(i, newArg);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleNotFoundException.java
*/ public LifecycleNotFoundException(String lifecycleId) { super("Unknown lifecycle " + lifecycleId); this.lifecycleId = (lifecycleId != null) ? lifecycleId : ""; } /** * Gets the identifier of the lifecycle that was not found. * * @return The identifier of the lifecycle that was not found, never {@code null}. */ public String getLifecycleId() { return lifecycleId;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
docs_src/custom_response/tutorial009_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 202 bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
private final ImmutableList<E> list; Itr(ImmutableList<E> list, int index) { super(list.size(), index); this.list = list; } @Override protected E get(int index) { return list.get(index); } } @Override public int indexOf(@Nullable Object object) { return (object == null) ? -1 : Lists.indexOfImpl(this, object); } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 27.5K bytes - Viewed (0) -
docs/zh/docs/index.md
* 数据库模型 * ......以及更多其他类型 * 自动生成的交互式 API 文档,包括两种可选的用户界面: * Swagger UI * ReDoc --- 回到前面的代码示例,**FastAPI** 将会: * 校验 `GET` 和 `PUT` 请求的路径中是否含有 `item_id`。 * 校验 `GET` 和 `PUT` 请求中的 `item_id` 是否为 `int` 类型。 * 如果不是,客户端将会收到清晰有用的错误信息。 * 检查 `GET` 请求中是否有命名为 `q` 的可选查询参数(比如 `http://127.0.0.1:8000/items/foo?q=somequery`)。 * 因为 `q` 被声明为 `= None`,所以它是可选的。 * 如果没有 `None` 它将会是必需的 (如 `PUT` 例子中的请求体)。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 18.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable); if (predicate == null) { throw new IllegalArgumentException( expectedThrowable + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the" + " map in that class."); } Object result; try { result = supplier.get(); } catch (Throwable t) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java
public void warnAboutDeprecatedOptions(ParserRequest request, Consumer<String> printWriter) {} @Override public void displayHelp(ParserRequest request, Consumer<String> printWriter) { options.get(0).displayHelp(request, printWriter); } protected <T> Optional<T> returnFirstPresentOrEmpty(Function<O, Optional<T>> getter) { for (O option : options) { Optional<T> o = getter.apply(option);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 26 17:31:44 UTC 2025 - 5.7K bytes - Viewed (0)