dbapi: protect against already committed or rolledback transactions
dbapi: protect against already committed or rolledback transactions

While here filed

    https://github.com/googleapis/python-spanner/issues/13

since we need to access an unexported file

    Transaction._rolled_back

googleapis/python-spanner-django,googleapis/python-spanner-django