@property
    def current_transaction(self):
        transaction = self.current_batch
        if isinstance(transaction, Transaction):
            return transaction
Currently-active transaction.
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/datastore/client.py/Client.current_transaction