code: def _transactions(self):
          "list[Transaction]: The current stack of Transactions."
          transactions = getattr(self._state, "transactions", None)
          if transactions is None:
              transactions = self._state.transactions = []
          return transactionf _transactions(self):
          "list[Transaction]: The current stack of Transactions."
          transactions = getattr(self._state, "transactions", None)
          if transactions is None:
              transactions = self._state.transactions = []
          return transactions
docs: list[Transaction]: The current stack of Transactions.