I tried the following code and got an InternalError error:
"InternalError: current transaction is aborted, commands ignored until end of transaction block"
import psycopg2
from psycopg2.extras import Json
import agtype
conn = psycopg2.connect("dbname=ag user=ag")
cur = conn.cursor()
cur.execute("create graph p")
What should I do to manipulate AG with python?
I tried the following code and got an InternalError error:
"InternalError: current transaction is aborted, commands ignored until end of transaction block"
What should I do to manipulate AG with python?