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

Method editable_fields_equal

celery/beat.py:192–196  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

190 return NotImplemented
191
192 def editable_fields_equal(self, other):
193 for attr in ('task', 'args', 'kwargs', 'options', 'schedule'):
194 if getattr(self, attr) != getattr(other, attr):
195 return False
196 return True
197
198 def __eq__(self, other):
199 """Test schedule entries equality.

Callers 1

__eq__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected