def METHOD_NAME(self, query) -> list:
    return [
        {
            "timestamp": parser.isoparse(event.time_occurred).replace(tzinfo=timezone.utc).timestamp(),
            "event_type": event.category,
            "alert_type": EVENT_TYPES[event.severity],
            "tags": [f'{attribute.name}:{value}' for attribute in event.attributes for value in attribute.values],
            "msg_title": event.content,
            "msg_text": event.content,
        }
        for event in cm_client.EventsResourceApi(self._client).METHOD_NAME(query=query).items
    ]