fix(db): update __init__ export for postgres pool and dockerfiles

This commit is contained in:
mamad
2026-08-27 20:41:40 +03:30
parent 7bf983fc08
commit 4e807bbb7e
4 changed files with 14 additions and 8 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
from db.database import init_db, get_db_connection
from db.database import init_db, get_db_pool, close_db_pool
from db.models import SourceChannel, TargetChannel, Post, Setting
from db.repository import Repository
__all__ = ["init_db", "get_db_connection", "SourceChannel", "TargetChannel", "Post", "Setting", "Repository"]
__all__ = ["init_db", "get_db_pool", "close_db_pool", "SourceChannel", "TargetChannel", "Post", "Setting", "Repository"]