After updating the event(insight) it is getting updated in the cdf portal.
Passing filter to “cdf_beta_api = "https://api.cognitedata.com/api/v1/projects/{CDF-PROJECT-NAME{/events/list"”
when we try to list event based on filter all of the sudden, we are getting the older data in response.
When it is called again we get the updated data in response

In line 34 we are getting updated role but in line 49 we are getting older role,when it is called again we get updated response