Example #1
0
 def __init__(self,
              client,
              max_attempts=MAX_ATTEMPTS,
              read_only=False) -> None:
     super(AsyncTransaction, self).__init__(client)
     BaseTransaction.__init__(self, max_attempts, read_only)
Example #2
0
def _make_base_transaction(*args, **kwargs):
    from google.cloud.firestore_v1.base_transaction import BaseTransaction

    return BaseTransaction(*args, **kwargs)