- Sort Score
- Result 10 results
- Languages All
Results 3361 - 3370 of 7,250 for return (0.09 sec)
-
docs_src/dependencies/tutorial012.py
raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)]) @app.get("/items/") async def read_items(): return [{"item": "Portal Gun"}, {"item": "Plumbus"}] @app.get("/users/") async def read_users():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 696 bytes - Viewed (0) -
docs_src/extending_openapi/tutorial001.py
from fastapi import FastAPI from fastapi.openapi.utils import get_openapi app = FastAPI() @app.get("/items/") async def read_items(): return [{"name": "Foo"}] def custom_openapi(): if app.openapi_schema: return app.openapi_schema openapi_schema = get_openapi( title="Custom title", version="2.5.0", summary="This is a very custom OpenAPI schema",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 737 bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java
dstIndex += writeString(this.filename, dst, dstIndex); return dstIndex - start; } @Override protected int writeDataWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) { return 0; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java
context.addHighlightedQuery(StringUtils.strip(query, "*")); return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> QueryBuilders.wildcardQuery(f, origQuery).boost(b * boost)); } protected String toLowercaseWildcard(final String value) { if (lowercaseWildcard) { return value.toLowerCase(Locale.ROOT); } return value; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
} } } return super.containsAll(collection); } @Override public Iterator<E> iterator() { return asList(contents).iterator(); } @Override public @Nullable Object[] toArray() { @Nullable Object[] result = new @Nullable Object[contents.length]; arraycopy(contents, 0, result, 0, contents.length); return result; } /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.8K bytes - Viewed (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
} private static List<String> ps() { return run(determinePsCommand()).assertZeroExit().stdout.lines().collect(Collectors.toList()); } private static String[] determinePsCommand() { if (isWindows()) { return new String[]{"wmic", "process", "get", "processid,commandline"}; } else if (isMacOS()) { return new String[]{"ps", "x", "-o", "pid,command"}; } else {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java
throw new ParserConfigurationRuntimeException(e); } return factory; } /** * 新しい {@link DocumentBuilder}を作成します。 * * @return 新しい {@link DocumentBuilder} */ public static DocumentBuilder newDocumentBuilder() { try { return newInstance().newDocumentBuilder(); } catch (final ParserConfigurationException e) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.6K bytes - Viewed (0) -
cni/pkg/pluginlistener/listener.go
listener, err := net.Listen("unix", path) if err != nil { return nil, fmt.Errorf("failed to listen on unix socket %q: %v", path, err) } // Update file permission so that cni plugin has permission to access it. if _, err := os.Stat(path); err != nil { return nil, fmt.Errorf("cni listener file %q doesn't exist", path) } if err := os.Chmod(path, 0o666); err != nil { return nil, fmt.Errorf("failed to update %q permission", path) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultisetTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 12.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.4K bytes - Viewed (0)