Replace nested selectinload chain with separate explicit queries for channels, sub-channels, and proof types. The self-referential selectinload chain didn't reliably load the third level (proof types) in async SQLAlchemy. Also add order_by to DropdownOption.children relationship for consistent ordering. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| database.py | ||
| models.py | ||
| schemas.py | ||