Skip to content

Commit fec4be2

Browse files
author
zhanzeyu.frederic
committed
fix postgres
Signed-off-by: zhanzeyu.frederic <zhanzeyu.frederic@bytedance.com>
1 parent a960f12 commit fec4be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgres.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def init_pool(schema: str, config: Dict) -> None:
2020
final_option.update(config)
2121

2222
global pool
23-
pool = PooledDB(final_option)
23+
pool = PooledDB(**final_option)
2424

2525

2626
@contextmanager

0 commit comments

Comments
 (0)