- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,232 for Round (0.03 sec)
-
docs_src/sql_databases/tutorial001_py310.py
if not hero: raise HTTPException(status_code=404, detail="Hero not found") return hero @app.delete("/heroes/{hero_id}") def delete_hero(hero_id: int, session: Session = Depends(get_session)): hero = session.get(Hero, hero_id) if not hero: raise HTTPException(status_code=404, detail="Hero not found") session.delete(hero) session.commit()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/bucket-targets.go
sys.Lock() defer sys.Unlock() found := false tgts, ok := sys.targetsMap[bucket] if !ok { return BucketRemoteTargetNotFound{Bucket: bucket} } targets := make([]madmin.BucketTarget, 0, len(tgts)) for _, tgt := range tgts { if tgt.Arn != arnStr { targets = append(targets, tgt) continue } found = true } if !found { return BucketRemoteTargetNotFound{Bucket: bucket}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 20.9K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001_an.py
if not hero: raise HTTPException(status_code=404, detail="Hero not found") return hero @app.delete("/heroes/{hero_id}") def delete_hero(hero_id: int, session: SessionDep): hero = session.get(Hero, hero_id) if not hero: raise HTTPException(status_code=404, detail="Hero not found") session.delete(hero) session.commit()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java
/** * Performs a collection lookup for given typed components. * * @param type The component type. * @return The list of components. The list may be empty if no components found. * @param <T> The component type. * @throws LookupException if there is some provisioning related issue. */ @Nonnull <T> List<T> lookupList(Class<T> type); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Jan 10 12:55:54 UTC 2024 - 3.3K bytes - Viewed (0) -
schema/index.go
idx = len(tag) } if idx != -1 { name = tag[0:idx] } if name == "" { subName := field.Name const key = "COMPOSITE" if composite, found := settings[key]; found { if len(composite) == 0 || composite == key { err = fmt.Errorf( "The composite tag of %s.%s cannot be empty", field.Schema.Name, field.Name) return
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 3.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java
* @throws ArtifactResolutionException in case of resolution issue * @throws ArtifactNotFoundException if an artifact is not found */ Set<Artifact> resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session) throws ArtifactResolutionException, ArtifactNotFoundException; /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
cmd/object-api-deleteobject_test.go
t.Errorf("Test %d: %s: mismatch number of objects after delete, expected = %v, found = %v", i+1, instanceType, testCase.objectsAfterDelete, result.Objects) continue } for idx := range result.Objects { if result.Objects[idx].Name != testCase.objectsAfterDelete[idx] { t.Errorf("Test %d: %s: Unexpected object found after delete, found = `%v`", i+1, instanceType, result.Objects[idx].Name) } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
void tearDown() throws Exception { validator = null; } private void assertContains(String msg, String substring) { assertTrue(msg.contains(substring), "\"" + substring + "\" was not found in: " + msg); } @Test void testValidate() { Settings model = new Settings(); Profile prof = new Profile(); prof.setId("xxx"); model.addProfile(prof);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
CONTRIBUTING.md
# Contributing to Go Go is an open source project. It is the work of hundreds of contributors. We appreciate your help! ## Before filing an issue If you are unsure whether you have found a bug, please consider asking in the [golang-nuts mailing list](https://groups.google.com/forum/#!forum/golang-nuts) or [other forums](https://golang.org/help/) first. If
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Mar 29 22:00:27 UTC 2023 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java
final ClassificationMeta onMainSchema = findOnMainSchema(classificationName); if (onMainSchema == null) { final String msg = "Not found the classification: " + classificationName; throw new ProvidedClassificationNotFoundException(msg); } return onMainSchema; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.5K bytes - Viewed (0)