We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a646a52 commit cfa5febCopy full SHA for cfa5feb
1 file changed
src/database.py
@@ -26,7 +26,7 @@ def upsert_repo(
26
repo = Repo.from_github_data(repo_data, installation_id, connected)
27
28
# Convert to dict for database
29
- data = repo.model_dump(exclude_none=True, deep=True)
+ data = repo.model_dump(exclude_none=True)
30
31
# Upsert the repository
32
result = supabase.table("repos").upsert(data).execute()
@@ -100,7 +100,7 @@ def upsert_review(review: Review) -> Optional[Review]:
100
101
try:
102
# Convert review to dict, preserving nested structure
103
- data = review.model_dump(exclude_none=True, deep=True)
+ data = review.model_dump(exclude_none=True)
104
data["updated_at"] = datetime.now().isoformat()
105
106
# Upsert the review
0 commit comments