Experimenting with pydantic

This commit is contained in:
Jonas Linter
2025-10-07 15:59:00 +02:00
parent 5ec47b8332
commit e5a295faba
8 changed files with 574 additions and 48 deletions

View File

@@ -405,11 +405,6 @@ async def process_wix_form_submission(request: Request, data: dict[str, Any], db
unique_id = data.get("submissionId", generate_unique_id())
# TODO MAGIC shortening
if len(unique_id) > 32:
# strip to first 35 chars
unique_id = unique_id[:32]
# use database session
# Save all relevant data to DB (including new fields)