- Sort Score
- Result 10 results
- Languages All
Results 3041 - 3050 of 7,250 for return (0.07 sec)
-
docs_src/sql_databases/tutorial002_an_py39.py
session.add(db_hero) session.commit() session.refresh(db_hero) return db_hero @app.get("/heroes/", response_model=list[HeroPublic]) def read_heroes( session: SessionDep, offset: int = 0, limit: Annotated[int, Query(le=100)] = 100, ): heroes = session.exec(select(Hero).offset(offset).limit(limit)).all() return heroes @app.get("/heroes/{hero_id}", response_model=HeroPublic)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
return session.getWorkspaceReader().getRepository(); } else if (LocalRepository.class.isAssignableFrom(repoClass)) { return session.getLocalRepository(); } else { for (RemoteRepository repository : repositories) { if (repoId.equals(repository.getId())) { return repository; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 20.3K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
} return Gson().fromJson(response.body(), klass) } private fun getUserInfo(login: String): GitHubUser { val uri = "https://api.github.com/users/$login" return invokeGitHubApi(uri, GitHubUser::class.java) } private
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true); } @CanIgnoreReturnValue static <T extends Throwable> T assertThrows( Class<T> expectedThrowable, ThrowingRunnable runnable) { return doAssertThrows( expectedThrowable, () -> { runnable.run(); return null; },
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java
return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true); } @CanIgnoreReturnValue static <T extends Throwable> T assertThrows( Class<T> expectedThrowable, ThrowingRunnable runnable) { return doAssertThrows( expectedThrowable, () -> { runnable.run(); return null; },
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java
return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true); } @CanIgnoreReturnValue static <T extends Throwable> T assertThrows( Class<T> expectedThrowable, ThrowingRunnable runnable) { return doAssertThrows( expectedThrowable, () -> { runnable.run(); return null; },
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/LabelTypeService.java
labelTypePager.setPageNumberList(labelTypeList.pageRange(op -> { op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger()); }).createPageNumberList()); return labelTypeList; } public void delete(final LabelType labelType) { labelTypeBhv.delete(labelType, op -> { op.setRefreshPolicy(Constants.TRUE); });
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/AppendableWriterTest.java
public Appendable append(CharSequence csq) { result.append(csq); return this; } @Override public Appendable append(char c) { result.append(c); return this; } @Override public Appendable append(CharSequence csq, int start, int end) { result.append(csq, start, end); return this; } @Override public void flush() { flushed = true;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java
return retrieve(request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories()); } public List<ArtifactVersion> retrieveAvailableVersions(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException { return retrieveAvailableVersions(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java
@Execute public JsonResponse<ApiResult> get$setting(final String id) { return asJson(new ApiResult.ApiConfigResponse().setting(groupService.getGroup(id).map(this::createEditBody).orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); return null; })).status(ApiResult.Status.OK).result()); } // PUT /api/admin/group/setting
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.8K bytes - Viewed (0)