checkpoint-postgres: pass row_factory in cursor (#1433)

This commit is contained in:
Vadym Barda
2024-08-22 17:39:21 -04:00
committed by GitHub
parent 7074604204
commit 8090ca67c5
3 changed files with 71 additions and 64 deletions
+3 -4
View File
@@ -122,7 +122,7 @@
"metadata": {},
"outputs": [],
"source": [
"DB_URI = \"postgresql://postgres:postgres@localhost:5441/postgres?sslmode=disable\""
"DB_URI = \"postgresql://postgres:postgres@localhost:5442/postgres?sslmode=disable\""
]
},
{
@@ -137,7 +137,6 @@
"connection_kwargs ={\n",
" \"autocommit\": True,\n",
" \"prepare_threshold\": 0,\n",
" \"row_factory\": dict_row,\n",
"}"
]
},
@@ -551,9 +550,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "langgraph-postgres",
"display_name": "langgraph",
"language": "python",
"name": "langgraph-postgres"
"name": "langgraph"
},
"language_info": {
"codemirror_mode": {