Files
legal-ai/web
Chaim 932cc7191c
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 8s
fix: use ::text::jsonb to store methodology overrides correctly
asyncpg cannot encode a Python list as JSONB directly (expects str).
Passing str with ::jsonb causes double-encoding (stored as JSONB string).
Solution: json.dumps() the value → pass as text → PostgreSQL parses
with ::text::jsonb cast, storing it as the correct JSONB array/object.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10 18:38:05 +00:00
..