- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 5,958 for retain (0.04 seconds)
-
tests/test_security_oauth2_optional_description.py
if oauth_header is None: return None user = User(username=oauth_header) return user @app.post("/login") def login(form_data: OAuth2PasswordRequestFormStrict = Depends()): return form_data @app.get("/users/me") def read_users_me(current_user: Optional[User] = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_userCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9.1K bytes - Click Count (0) -
tests/test_multi_body_errors.py
"HTTPValidationError": { "title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": {"$ref": "#/components/schemas/ValidationError"}, } },
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
* @param fieldName Field name * @return Field values */ protected String[] getFieldValues(final Map<String, Object> document, final String fieldName) { final Object value = document.get(fieldName); if (value instanceof String) { return new String[] { value.toString() }; } if (value instanceof String[]) { return (String[]) value; }Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 14.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
* * @param project the project for which to get the enabled source roots * @param scope the scope of the sources to return, or {@code null} for all scopes * @param language the language of the sources to return, or {@code null} for all languages */ @Nonnull Stream<SourceRoot> getEnabledSourceRoots(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:29:13 GMT 2025 - 12K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
return result.errorPoms().isEmpty() ? 0 : 1; } catch (Exception e) { context.failure("Strategy execution failed: " + e.getMessage()); return 1; } } /** * Determines whether modifications should be saved to disk. * Apply goals return true, Check goals return false. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.5K bytes - Click Count (0) -
tests/test_tutorial/test_handling_errors/test_tutorial001.py
"HTTPValidationError": { "title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": {"$ref": "#/components/schemas/ValidationError"}, } },
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.2K bytes - Click Count (0) -
tests/test_tutorial/test_header_param_models/test_tutorial003.py
"properties": { "detail": { "items": { "$ref": "#/components/schemas/ValidationError" }, "type": "array", "title": "Detail", } },
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8.5K bytes - Click Count (0) -
tests/test_multi_query_errors.py
"HTTPValidationError": { "title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": {"$ref": "#/components/schemas/ValidationError"}, } },
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 3.9K bytes - Click Count (0) -
tests/test_security_http_basic_realm_description.py
app = FastAPI() security = HTTPBasic(realm="simple", description="HTTPBasic scheme") @app.get("/users/me") def read_current_user(credentials: HTTPBasicCredentials = Security(security)): return {"username": credentials.username, "password": credentials.password} client = TestClient(app) def test_security_http_basic(): response = client.get("/users/me", auth=("john", "secret"))
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.7K bytes - Click Count (0) -
fastapi/exceptions.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 6.8K bytes - Click Count (0)