test(core): stabilize postgres fixtures

Signed-off-by: phernandez <paul@basicmachines.co>
This commit is contained in:
phernandez
2026-04-13 14:23:36 -05:00
parent 052545b661
commit 8f2b25f0e0
10 changed files with 221 additions and 76 deletions
+3 -3
View File
@@ -280,9 +280,9 @@ class Repository[T: Base]:
if isinstance(entity_data, dict):
update_data = cast(dict[str, Any], entity_data)
for key, value in update_data.items():
if key in self.valid_columns:
setattr(entity, key, value)
for key in self.valid_columns:
if key in update_data:
setattr(entity, key, update_data[key])
elif isinstance(entity_data, self.Model):
for column in self.valid_columns: