Beispiel #1
0
 def requests(self):
     '''return accumulated requests to this bin'''
     path = pathjoin(self.path, self.name, Request.path)
     response = self.service.send(SRequest('GET', path))
     # a bin behaves as a push-down store --- better to return the requests
     # in order of appearance
     return list(reversed(Request.from_response(response, bin=self)))