MCPcopy Create free account
hub / github.com/celery/celery / pid

Method pid

celery/apps/multi.py:275–281  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

273
274 @property
275 def pid(self):
276 if self._pid is not None:
277 return self._pid
278 try:
279 return Pidfile(self.pidfile).read_pid()
280 except ValueError:
281 pass
282
283 @pid.setter
284 def pid(self, value):

Callers

nothing calls this directly

Calls 2

PidfileClass · 0.90
read_pidMethod · 0.45

Tested by

no test coverage detected