code: def wait(self, **kwargs):
          
          if self.request:
              self.request.wait(**kwargs)
              self.request = None
          return self.inflate()
docs: Wait until any pending asynchronous requests are finished for this collection.