def METHOD_NAME(self, write_cursor: 'DBCursor', actions: list[LedgerAction]) -> None:
    """Adds multiple ledger action to the DB
    Is slow due to not using executemany since the ledger actions table
    utilized an auto generated primary key.
    """
    for action in actions:
        try:
            self.add_ledger_action(write_cursor, action)
        except sqlcipher.IntegrityError:  # pylint: disable=no-member
            self.db.msg_aggregator.add_warning('Did not add ledger action to DB due to it already existing')  # noqa: E501
            log.warning(f'Did not add ledger action {action} to the DB due to it already existing')  # noqa: E501