Annotations added

This commit is contained in:
2026-05-30 12:23:51 +08:00
parent 5a3a80700f
commit b3f29398f0
92 changed files with 556 additions and 1 deletions
+6
View File
@@ -1,3 +1,9 @@
# -----------------------------------------------------------------------------
# Description: SQLite database initialization and persistence helpers for users, projects, cells, and project metadata.
# Inside functions: connect_db, init_db, get_user, get_user_profile, get_user_auth_by_id, update_user_occupation, update_user_password, add_user_log, list_user_logs
# Developer : Qin Yue @ 2026
# Organization : OptiHK Limited
# -----------------------------------------------------------------------------
# backend/database.py
import sqlite3
import os