def METHOD_NAME(self, folder_id, sender=None):
    if folder_id in self._tasks_refreshing:
        return
    project_name = self._controller.get_current_project_name()
    with self._task_refresh_event_manager(
        project_name, folder_id, sender
    ):
        cache_item = self._tasks_cache.get(folder_id)
        if cache_item is None:
            cache_item = CacheItem()
            self._tasks_cache[folder_id] = cache_item
        task_items = self._query_tasks(project_name, folder_id)
        cache_item.update_data(task_items)