Commit 7ecc615 1 parent d793c77 commit 7ecc615 Copy full SHA for 7ecc615
File tree 1 file changed +8
-8
lines changed
sdk/python/feast/infra/utils/postgres
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,14 @@ async def _get_connection_pool_async(config: PostgreSQLConfig) -> AsyncConnectio
56
56
57
57
def _get_conninfo (config : PostgreSQLConfig ) -> str :
58
58
"""Get the `conninfo` argument required for connection objects."""
59
- psycopg_config = {
60
- "user" : config . user ,
61
- "password" : config .password ,
62
- "host" : config .host ,
63
- "port" : int ( config .port ) ,
64
- "dbname" : config .database ,
65
- }
66
- return make_conninfo ( conninfo = "" , ** psycopg_config )
59
+ return make_conninfo (
60
+ conninfo = "" ,
61
+ user = config .user ,
62
+ password = config .password ,
63
+ host = config .host ,
64
+ port = int ( config .port ) ,
65
+ dbname = config . database ,
66
+ )
67
67
68
68
69
69
def _get_conn_kwargs (config : PostgreSQLConfig ) -> Dict [str , Any ]:
You can’t perform that action at this time.
0 commit comments