MCPcopy
hub / github.com/celery/celery / pid

Method pid

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

Source from the content-addressed store, hash-verified

253
254 @property
255 def pid(self):
256 if self._pid is not None:
257 return self._pid
258 try:
259 return Pidfile(self.pidfile).read_pid()
260 except ValueError:
261 pass
262
263 @pid.setter
264 def pid(self, value):

Callers

nothing calls this directly

Calls 2

PidfileClass · 0.90
read_pidMethod · 0.45

Tested by

no test coverage detected