TT-003: complete request-module integration into modular platform
- integrated request-module into module registry - moved backend into modules/request-module - added manifest.json and module.py - implemented dynamic router mounting - implemented dynamic static mounting - removed direct dependencies from platform core - verified startup with request-module - verified startup without request-module - added implementation_report_003.md
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import sys
|
||||
sys.path.insert(0, "C:/test")
|
||||
from app.core.database import SessionLocal
|
||||
from app.models.user import User
|
||||
|
||||
db = SessionLocal()
|
||||
admin = db.query(User).filter(User.id == 1).first()
|
||||
print(f"Admin email before: {admin.email}")
|
||||
|
||||
admin.email = "alex@atlas-r.ru"
|
||||
db.commit()
|
||||
print(f"Admin email after: {admin.email}")
|
||||
|
||||
db.close()
|
||||
Reference in New Issue
Block a user