- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 105 for user_2 (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/tutorial/extra-models.md
### About `**user_in.model_dump()` { #about-user-in-model-dump } #### Pydantic's `.model_dump()` { #pydantics-model-dump } `user_in` is a Pydantic model of class `UserIn`. Pydantic models have a `.model_dump()` method that returns a `dict` with the model's data. So, if we create a Pydantic object `user_in` like: ```Python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/UserService.java
* Handles user authentication setup and database persistence. * If the surname is blank, it will be set to the user's name. * * @param user the user entity to store */ public void store(final User user) { final String username = user.getName(); final boolean isUpdate = StringUtil.isNotBlank(user.getId()); if (logger.isDebugEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:22:27 GMT 2026 - 9.3K bytes - Click Count (0) -
tests/generics_test.go
} else if len(users2) != len(users) { t.Fatalf("Failed to load join users, got: %v, expect: %v", len(users2), len(users)) } sort.Slice(users2, func(i, j int) bool { return users2[i].ID > users2[j].ID }) sort.Slice(users, func(i, j int) bool { return users[i].ID > users[j].ID }) for idx, user := range users { // user CheckUser(t, user, users2[idx])
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0) -
docs/uk/docs/tutorial/extra-models.md
### Про `**user_in.model_dump()` { #about-user-in-model-dump } #### `.model_dump()` у Pydantic { #pydantics-model-dump } `user_in` - це модель Pydantic класу `UserIn`. Моделі Pydantic мають метод `.model_dump()`, який повертає `dict` з даними моделі. Отже, якщо ми створимо об’єкт Pydantic `user_in` так: ```Python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("Abc", StringUtil.capitalize("abc")); assertEquals("Abc", StringUtil.capitalize("Abc")); assertEquals("ABC", StringUtil.capitalize("ABC")); assertEquals("UserId", StringUtil.capitalize("userId")); } /** * @throws Exception */ @Test public void testDecapitalize() throws Exception { assertEquals("abc", StringUtil.decapitalize("abc"));
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 11.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
* @param userMessage the user's message * @param userId the user ID (can be null for anonymous users) * @return the chat response including session info and sources */ public ChatResult chat(final String sessionId, final String userMessage, final String userId) { return chat(sessionId, userMessage, userId, Collections.emptyMap(), new String[0]); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 56.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
User user1 = createTestUser("user1", "User One"); User user2 = createTestUser("user2", "User Two"); User user3 = createTestUser("user3", "User Three"); chain.update(user1); chain.update(user2); chain.update(user3); assertEquals(3, chain.updateCalls.size()); assertEquals(user1, chain.updateCalls.get(0));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.8K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
Now, whenever a browser is creating a user with a password, the API will return the same password in the response. In this case, it might not be a problem, because it's the same user sending the password. But if we use the same model for another *path operation*, we could be sending our user's passwords to every client. /// danger
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K bytes - Click Count (0) -
docs_src/bigger_applications/app_an_py310/routers/users.py
from fastapi import APIRouter router = APIRouter() @router.get("/users/", tags=["users"]) async def read_users(): return [{"username": "Rick"}, {"username": "Morty"}] @router.get("/users/me", tags=["users"]) async def read_user_me(): return {"username": "fakecurrentuser"} @router.get("/users/{username}", tags=["users"]) async def read_user(username: str):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 407 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java
import org.codelibs.fess.Constants; import org.codelibs.fess.entity.FessUser; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.opensearch.user.bsentity.BsUser; import org.codelibs.fess.util.ComponentUtil; /** * @author FreeGen */ public class User extends BsUser implements FessUser { private static final long serialVersionUID = 1L; private String originalPassword;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:22:27 GMT 2026 - 4.1K bytes - Click Count (0)