

def test_sql_batch(cls):
    cls.app.preprocess_request()
    with cls.client.connection():
        cmd = 'begin;let a = create vertex set script = true;let b = select from v limit 1;let e = create edge from $a to $b;commit retry 100;'
        cls.assertIsInstance(cls.client.batch(cmd), list)

dataset/ETHPy150Open calthoff/flask-orientdb/test_flask_orientdb.py FlaskOrientDBTests.test_sql_batch/original