MCPcopy
hub / github.com/celery/celery / _remove_db

Method _remove_db

celery/beat.py:517–520  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

515 super().__init__(*args, **kwargs)
516
517 def _remove_db(self):
518 for suffix in self.known_suffixes:
519 with platforms.ignore_errno(errno.ENOENT):
520 os.remove(self.schedule_filename + suffix)
521
522 def _open_schedule(self):
523 return self.persistence.open(self.schedule_filename, writeback=True)

Callers 2

test_remove_dbMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by 1

test_remove_dbMethod · 0.64