(case, updated_xforms=None)
return transactions
This fetches all the transactions required to rebuild the case along
        with all the forms for those transactions.

        For any forms that have been updated it replaces the old form
        with the new one.

        :param case_id: ID of case to rebuild
        :param updated_xforms: list of forms that have been changed.
        :return: list of ``CaseTransaction`` objects with their associated forms attached.
This fetches all the transactions required to rebuild the case along
        with all the forms for those transactions.
This fetches all the transactions required to rebuild the case along with all the forms for those transactions .
def get_case_transactions_by_case_id(case, updated_xforms=None):
        """
        This fetches all the transactions required to rebuild the case along
        with all the forms for those transactions.

        For any forms that have been updated it replaces the old form
        with the new one.

        :param case_id: ID of case to rebuild
        :param updated_xforms: list of forms that have been changed.
        :return: list of ``CaseTransaction`` objects with their associated forms attached.
        """

        transactions = CaseAccessorSQL.get_transactions_for_case_rebuild(case.case_id)
        CaseAccessorSQL.fetch_case_transaction_forms(case, transactions, updated_xforms)
        return transactions
def get_case_transactions_by_case_id ( case , updated_xforms = None ) : transactions = CaseAccessorSQL . get_transactions_for_case_rebuild ( case . case_id ) CaseAccessorSQL . fetch_case_transaction_forms ( case , transactions , updated_xforms ) return transactions