Remove bidirectional back_populates between SpecVersion and ProcessingJob since both sides have FKs to each other (circular), causing SQLAlchemy to see both as MANYTOONE. ProcessingJob.spec_version is now a standalone relationship with explicit foreign_keys. SpecVersion no longer has a reverse relationship to ProcessingJob (not needed for any queries). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| database.py | ||
| models.py | ||
| schemas.py | ||