code: def collapse(self, idx):
      return self._async_queue("collapse", "view_method", idx)
  
imports: import asyncio
  from random import random
  from functools import partial
  from .dispatch import async_queue, subscribe, unsubscribe
label_desc: Use image node_id 9 for calling the PerspectiveViewProxy obj's underlying member method code with example usage: obj.collapse(idx) and returns: self