def __init__(self, handle):
    assert isinstance(handle, datastore_pb.Transaction)
    explanation = []
    assert handle.IsInitialized(explanation), explanation

    self.handle = handle
    self.entity_group = None
    self.modified_keys = None
    self.modified_keys = set()
Initializes the transaction.
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/api/datastore.py/_Transaction.__init__