File tree Expand file tree Collapse file tree
magic_dash/templates/magic-dash-pro Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11from peewee import SqliteDatabase , Model
22from feffery_dash_utils .version_utils import check_dependencies_version
3- from playhouse .pool import PooledPostgresqlExtDatabase , PooledMySQLDatabase
3+ from playhouse .pool import PooledPostgresqlDatabase , PooledMySQLDatabase
44
55from configs .database_config import DatabaseConfig
66
@@ -19,7 +19,7 @@ def get_db():
1919 )
2020
2121 # 返回postgresql类型连接池对象
22- return PooledPostgresqlExtDatabase (
22+ return PooledPostgresqlDatabase (
2323 host = DatabaseConfig .postgresql_config ["host" ],
2424 port = DatabaseConfig .postgresql_config ["port" ],
2525 user = DatabaseConfig .postgresql_config ["user" ],
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ feffery_dash_utils>=0.2.6
44feffery_utils_components >= 0.3.6 ,< 0.4.0
55feffery_markdown_components >= 0.4.3
66Flask_Login
7- peewee
7+ peewee >= 4.0.0
88user_agents
99flask-compress
1010flask-principal
You can’t perform that action at this time.
0 commit comments