- Add `from ..config import Config` import - Convert `_to_dict` from @staticmethod to @classmethod; it now opens a fresh session to populate `ontology` and `graph_id` from OntologyModel and GraphModel respectively - Use `db.expunge(proj)` before closing sessions in create_project, get_project and list_projects so `_to_dict` can open its own session without nesting conflicts (SQLite StaticPool safe) - Add five new classmethods: save_ontology, get_ontology, save_graph_record, get_latest_graph_external_id, complete_graph_record Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| alembic | ||
| app | ||
| scripts | ||
| tests | ||
| __init__.py | ||
| alembic.ini | ||
| pyproject.toml | ||
| requirements.txt | ||
| run.py | ||
| uv.lock | ||
| wsgi.py | ||