def get_events(self, host_id='', infra_env_id=''):
    warnings.warn('Cluster.get_events is now deprecated, use EventsHandler.get_events instead', PendingDeprecationWarning)
    handler = EventsHandler(self.api_client)
    return handler.get_events(host_id, self.id, infra_env_id)
def get_events(self, host_id=, infra_env_id=):
    warnings.warn('Cluster.get_events is now deprecated, use EventsHandler.get_events instead', PendingDeprecationWarning)
    handler = EventsHandler(self.api_client)
    return handler.get_events(host_id, self.id, infra_env_id)