MicroFish/backend
Ubuntu 949921344b feat(project): add ontology/graph persistence helpers to ProjectManager
- 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>
2026-05-03 01:13:26 +00:00
..
alembic feat(alembic): add initial schema migration for all SQLAlchemy models 2026-05-03 00:04:18 +00:00
app feat(project): add ontology/graph persistence helpers to ProjectManager 2026-05-03 01:13:26 +00:00
scripts fix(simulation): guarantee SQLite connection close with finally block 2026-04-26 14:56:52 +00:00
tests test(conftest): add in_memory_db and task manager singleton reset fixtures; fix broken tests 2026-05-03 00:15:42 +00:00
__init__.py feat(graph): add GraphBackend abstract interface 2026-04-25 11:11:06 +00:00
alembic.ini feat(alembic): add initial schema migration for all SQLAlchemy models 2026-05-03 00:04:18 +00:00
pyproject.toml chore(deps): add SQLAlchemy, Alembic, Azure Blob, bcrypt, flask-jwt-extended 2026-05-02 23:48:02 +00:00
requirements.txt fix(file_parser): handle non-UTF-8 encoded text files with automatic encoding detection 2026-01-22 18:28:37 +08:00
run.py Add UTF-8 encoding support for Windows console in run.py and logger.py to prevent character encoding issues 2025-12-26 17:58:48 +08:00
uv.lock chore(deps): add markdown>=3.6 for PDF generation 2026-04-25 23:57:46 +00:00
wsgi.py feat(auth): add JWT login screen, production Dockerfile and Azure Container App Bicep 2026-04-24 18:46:39 +00:00