mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
After upgrading SQLAlchemy, use _asdict().items() instead of .items().
This commit is contained in:
@@ -70,7 +70,7 @@ def migrate_connection_params(table_name):
|
||||
for rows in results:
|
||||
connection_params = {}
|
||||
server_id = 0
|
||||
for key, value in rows.items():
|
||||
for key, value in rows._asdict().items():
|
||||
if key == 'id':
|
||||
server_id = value
|
||||
# Name is changed from ssl_mode to sslmode
|
||||
|
||||
Reference in New Issue
Block a user