def METHOD_NAME(
        self,
        write_cursor: DBCursor,
        csv_row: dict[str, Any],
        sequence_index: int,
) -> None:
    """Consume rotki generic events import CSV file.
    May raise:
    - UnsupportedCSVEntry if an unknown type is encountered.
    - DeserializationError
    - UnknownAsset
    - KeyError
    """
    identifier = f'{ROTKI_EVENT_PREFIX}_{uuid4().hex}'
    try:
        event_type, event_subtype = GENERIC_TYPE_TO_HISTORY_EVENT_TYPE_MAPPINGS[csv_row['Type']]  # noqa: E501
    except KeyError as e:
        raise UnsupportedCSVEntry(f'Unsupported entry {csv_row["Type"]}. Data: {csv_row}') from e  # noqa: E501
    events: list[HistoryBaseEntry] = []
    asset, fee, fee_currency, location, timestamp = process_rotki_generic_import_csv_fields(csv_row, 'Currency')  # noqa: E501
    history_event = HistoryEvent(
        event_identifier=identifier,
        sequence_index=sequence_index,
        timestamp=timestamp,
        location=location,
        event_type=event_type,
        event_subtype=event_subtype,
        asset=asset,
        balance=Balance(
            amount=deserialize_asset_amount(csv_row['Amount']),
            usd_value=ZERO,
        ),
        notes=csv_row['Description'],
    )
    events.append(history_event)
    if fee:
        fee_event = HistoryEvent(
            event_identifier=identifier,
            sequence_index=sequence_index + 1,
            timestamp=timestamp,
            location=location,
            event_type=HistoryEventType.SPEND,
            event_subtype=HistoryEventSubType.FEE,
            asset=fee_currency,  # type: ignore[arg-type]
            balance=Balance(
                amount=fee,
                usd_value=ZERO,
            ),
            notes=csv_row['Description'],
        )
        events.append(fee_event)
    self.add_history_events(write_cursor, events)  # event assets are always resolved here