MCPcopy
hub / github.com/celery/celery / _get

Method _get

celery/backends/elasticsearch.py:115–126  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

113 pass
114
115 def _get(self, key):
116 if self.doc_type:
117 return self.server.get(
118 index=self.index,
119 id=key,
120 doc_type=self.doc_type,
121 )
122 else:
123 return self.server.get(
124 index=self.index,
125 id=key,
126 )
127
128 def _set_with_state(self, key, value, state):
129 body = {

Callers 2

getMethod · 0.95
_updateMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected