File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
sdk/python/feast/infra/utils/postgres Expand file tree Collapse file tree 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
5656
5757def _get_conninfo (config : PostgreSQLConfig ) -> str :
5858 """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+ )
6767
6868
6969def _get_conn_kwargs (config : PostgreSQLConfig ) -> Dict [str , Any ]:
You can’t perform that action at this time.
0 commit comments