(self, key)
| 651 | self.conn.set(self.result_key(key), value) |
| 652 | |
| 653 | def peek_data(self, key): |
| 654 | pipe = self.conn.pipeline() |
| 655 | pipe.exists(self.result_key(key)) |
| 656 | pipe.get(self.result_key(key)) |
| 657 | exists, val = pipe.execute() |
| 658 | return EmptyData if not exists else val |
| 659 | |
| 660 | # Here we explicitly prevent result items from being removed by using the |
| 661 | # same implementation for "pop" (get and delete) as we do for "peek" |
nothing calls this directly
no test coverage detected