- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 409 for Pets (0.03 seconds)
-
tests/test_response_model_data_filter_no_inheritance.py
async def create_user(user: UserCreate): return user @app.get("/pets/{pet_id}", response_model=PetOut) async def read_pet(pet_id: int): user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet = PetDB(name="Nibbler", owner=user) return pet @app.get("/pets/", response_model=list[PetOut]) async def read_pets(): user = UserDB(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
tests/test_response_model_data_filter.py
async def create_user(user: UserCreate): return user @app.get("/pets/{pet_id}", response_model=PetOut) async def read_pet(pet_id: int): user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet = PetDB(name="Nibbler", owner=user) return pet @app.get("/pets/", response_model=list[PetOut]) async def read_pets(): user = UserDB(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
tests/helper_test.go
} } }) t.Run("Pets", func(t *testing.T) { if len(user.Pets) != len(expect.Pets) { t.Fatalf("pets should equal, expect: %v, got %v", len(expect.Pets), len(user.Pets)) } sort.Slice(user.Pets, func(i, j int) bool { return user.Pets[i].ID > user.Pets[j].ID }) sort.Slice(expect.Pets, func(i, j int) bool { return expect.Pets[i].ID > expect.Pets[j].ID })
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:27:38 GMT 2026 - 8.6K bytes - Click Count (0) -
tests/generics_test.go
} } else if len(result.Pets) != 5 { t.Fatalf("Preload user %v pets should be 5, but got %+v", result.Name, result.Pets) } for i := 1; i < len(result.Pets); i++ { if result.Pets[i-1].Name < result.Pets[i].Name { t.Fatalf("Preload user %v pets not ordered correctly, last %v, cur %v", result.Name, result.Pets[i-1], result.Pets[i]) } } }
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) -
tests/migrate_test.go
DB.Save(GetUser("joins-args-db", Config{Pets: 2})) if err := DB.Migrator().CreateView("invalid_users_pets", gorm.ViewOption{Query: nil}); err != gorm.ErrSubQueryRequired { t.Fatalf("no view should be created, got %v", err) } query := DB.Model(&User{}). Select("users.id as users_id, users.name as users_name, pets.id as pets_id, pets.name as pets_name").
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:49:01 GMT 2026 - 66.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/ChatMessage.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 04:52:31 GMT 2026 - 10.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmChatResponse.java
*/ public LlmChatResponse(final String content) { this.content = content; } /** * Gets the response content. * * @return the content */ public String getContent() { return content; } /** * Sets the response content. * * @param content the content */ public void setContent(final String content) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 3.4K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/WebAuthenticationConfig.java
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Fri Jan 09 23:46:52 GMT 2026 - 6.9K bytes - Click Count (0)