(self, key)
| 102 | return False |
| 103 | |
| 104 | def get(self, key): |
| 105 | try: |
| 106 | res = self._get(key) |
| 107 | try: |
| 108 | if res['found']: |
| 109 | return res['_source']['result'] |
| 110 | except (TypeError, KeyError): |
| 111 | pass |
| 112 | except elasticsearch.exceptions.NotFoundError: |
| 113 | pass |
| 114 | |
| 115 | def _get(self, key): |
| 116 | if self.doc_type: |