<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_items(self, items):
 """ Defer until later so the view is only updated after all items are added. """

        self._pending_view_refreshes +=1
        timed_call(self._pending_timeout, self._refresh_layout)