Update values from another entry. Will only update "editable" fields: ``task``, ``schedule``, ``args``, ``kwargs``, ``options``.
(self, other)
| 153 | ) |
| 154 | |
| 155 | def update(self, other): |
| 156 | """Update values from another entry. |
| 157 | |
| 158 | Will only update "editable" fields: |
| 159 | ``task``, ``schedule``, ``args``, ``kwargs``, ``options``. |
| 160 | """ |
| 161 | self.__dict__.update({ |
| 162 | 'task': other.task, 'schedule': other.schedule, |
| 163 | 'args': other.args, 'kwargs': other.kwargs, |
| 164 | 'options': other.options, |
| 165 | }) |
| 166 | |
| 167 | def is_due(self): |
| 168 | """See :meth:`~celery.schedules.schedule.is_due`.""" |
no outgoing calls
no test coverage detected