O'Reilly logo
  • julian harley thinks this is interesting:

result = connection.execute(ins)

From

Cover of Essential SQLAlchemy, 2nd Edition

Note

connection not defined use:
connection = engine.connect()