- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 713 for modAlt (0.06 seconds)
-
guava-testlib/src/com/google/common/testing/CollectorTester.java
assertEquivalent(expectedResult, collector.finisher().apply(finalAccum)); } } private void assertEquivalent(R expected, R actual) { assertTrue( "Expected " + expected + " got " + actual + " modulo equivalence " + equivalence, equivalence.test(expected, actual)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 6.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java
return null; } return Coordinates.of(groupId, artifactId, version); } /** * Computes all artifacts from all POMs in a multi-module project. * This includes resolving parent inheritance. * * @param context the upgrade context for logging * @param pomMap map of all POM files in the projectCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.1K bytes - Click Count (0) -
docs/es/docs/advanced/security/http-basic-auth.md
## Revisa el nombre de usuario { #check-the-username } Aquí hay un ejemplo más completo. Usa una dependencia para comprobar si el nombre de usuario y la contraseña son correctos. Para esto, usa el módulo estándar de Python [`secrets`](https://docs.python.org/3/library/secrets.html) para verificar el nombre de usuario y la contraseña.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 5.3K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/get-current-user.md
还记得请求体也是使用 Pydantic 模型声明的吧。 放心,因为使用了 `Depends`,**FastAPI** 不会搞混。 /// /// check | 检查 依赖系统的这种设计方式可以支持不同的依赖项返回同一个 `User` 模型。 而不是局限于只能有一个返回该类型数据的依赖项。 /// ## 其它模型 { #other-models } 接下来,直接在*路径操作函数*中获取当前用户,并用 `Depends` 在**依赖注入**系统中处理安全机制。 开发者可以使用任何模型或数据满足安全需求(本例中是 Pydantic 的 `User` 模型)。 而且,不局限于只能使用特定的数据模型、类或类型。 不想在模型中使用 `username`,而是使用 `id` 和 `email`?当然可以。这些工具也支持。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 3.6K bytes - Click Count (0) -
docs/de/docs/advanced/security/oauth2-scopes.md
Und dann validieren wir diese Daten mit dem Pydantic-Modell (wobei wir die `ValidationError`-Exception abfangen), und wenn wir beim Lesen des JWT-Tokens oder beim Validieren der Daten mit Pydantic einen Fehler erhalten, lösen wir die zuvor erstellte `HTTPException` aus. Dazu aktualisieren wir das Pydantic-Modell `TokenData` mit einem neuen Attribut `scopes`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 15.7K bytes - Click Count (0) -
docs/en/docs/tutorial/body-multiple-params.md
/// ## Embed a single body parameter { #embed-a-single-body-parameter } Let's say you only have a single `item` body parameter from a Pydantic model `Item`. By default, **FastAPI** will then expect its body directly. But if you want it to expect a JSON with a key `item` and inside of it the model contents, as it does when you declare extra body parameters, you can use the special `Body` parameter `embed`: ```PythonCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 4.8K bytes - Click Count (0) -
docs/pt/docs/tutorial/stream-json-lines.md
{* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[24] *} Se cada item JSON que você quer enviar de volta for do tipo `Item` (um modelo Pydantic) e a função for assíncrona, você pode declarar o tipo de retorno como `AsyncIterable[Item]`: {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[9:11,22] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:13 GMT 2026 - 4.6K bytes - Click Count (0) -
doc/godebug.md
### Go 1.24 Go 1.24 added a new `fips140` setting that controls whether the Go Cryptographic Module operates in FIPS 140-3 mode. The possible values are: - "off": no special support for FIPS 140-3 mode. This is the default. - "on": the Go Cryptographic Module operates in FIPS 140-3 mode. - "only": like "on", but cryptographic algorithms not approved by FIPS 140-3 return an error or panic.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 15:49:10 GMT 2026 - 26K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java
import org.apache.maven.lifecycle.mapping.LifecycleMojo; import org.apache.maven.lifecycle.mapping.LifecyclePhase; import org.apache.maven.model.InputLocation; import org.apache.maven.model.InputSource; import org.apache.maven.model.Plugin; import org.apache.maven.model.PluginExecution; import org.codehaus.plexus.util.xml.Xpp3Dom; import org.slf4j.Logger; import org.slf4j.LoggerFactory;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 9K bytes - Click Count (0) -
docs/ko/docs/tutorial/body-updates.md
/// note | 참고 입력 모델은 여전히 검증된다는 점에 유의하세요. 따라서 모든 속성을 생략할 수 있는 부분 업데이트를 받으려면, 모든 속성이 optional로 표시된(기본값을 가지거나 `None`을 기본값으로 가지는) 모델이 필요합니다. **업데이트**를 위한 “모든 값이 optional인” 모델과, **생성**을 위한 “필수 값이 있는” 모델을 구분하려면 [추가 모델](extra-models.md)에 설명된 아이디어를 사용할 수 있습니다.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 4.8K bytes - Click Count (0)