- Sort Score
- Result 10 results
- Languages All
Results 1951 - 1960 of 6,873 for _return (0.12 sec)
-
docs_src/sql_databases/tutorial001_an_py39.py
session.add(hero) session.commit() session.refresh(hero) return hero @app.get("/heroes/") def read_heroes( session: SessionDep, offset: int = 0, limit: Annotated[int, Query(le=100)] = 100, ) -> list[Hero]: heroes = session.exec(select(Hero).offset(offset).limit(limit)).all() return heroes @app.get("/heroes/{hero_id}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
} listener.onFailure(this, exception, response) return } if (canceled) { listener.onFailure(this, IOException("canceled"), response) } else { listener.onClosed(this) } } } private fun ResponseBody.isEventStream(): Boolean { val contentType = contentType() ?: return false return contentType.type == "text" && contentType.subtype == "event-stream" }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java
return asJson(new ApiResult.ApiPluginResponse().plugins(list).status(ApiResult.Status.OK).result()); } // GET /api/admin/plugin/available @Execute public JsonResponse<ApiResult> get$available() { final List<Map<String, String>> list = getAllAvailableArtifacts();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java
private static final String ITEM_ENDPOINT_SUFFIX = "setting"; @Override protected String getListEndpointSuffix() { return LIST_ENDPOINT_SUFFIX + "/" + dictId; } @Override protected String getItemEndpointSuffix() { return ITEM_ENDPOINT_SUFFIX + "/" + dictId; } @BeforeEach protected void initializeDictId() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
} public String getId() { return id; } public String getPath() { return path; } public Date getTimestamp() { return timestamp; } public DictionaryFile<T> manager(final DictionaryManager dictionaryManager) { this.dictionaryManager = dictionaryManager; return this; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.8K bytes - Viewed (0) -
docs_src/dependencies/tutorial005.py
def query_extractor(q: Union[str, None] = None): return q def query_or_cookie_extractor( q: str = Depends(query_extractor), last_query: Union[str, None] = Cookie(default=None), ): if not q: return last_query return q @app.get("/items/") async def read_query(query_or_default: str = Depends(query_or_cookie_extractor)):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 486 bytes - Viewed (0) -
docs_src/dependencies/tutorial005_an_py310.py
def query_extractor(q: str | None = None): return q def query_or_cookie_extractor( q: Annotated[str, Depends(query_extractor)], last_query: Annotated[str | None, Cookie()] = None, ): if not q: return last_query return q @app.get("/items/") async def read_query( query_or_default: Annotated[str, Depends(query_or_cookie_extractor)], ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 510 bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
log.println( addr ); uhe.printStackTrace( log ); } return def; } } return arr; } return def; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ConverterTest.java
@Override protected Long doForward(String object) { return Long.valueOf(object); } @Override protected String doBackward(Long object) { return String.valueOf(object); } @Override public String toString() { return "string2long"; } }; private static final Long LONG_VAL = 12345L;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 01 16:09:28 UTC 2024 - 8K bytes - Viewed (0)