Create a base task class bound to this app.
(self)
| 1247 | self._conf.beat_schedule[key] = entry |
| 1248 | |
| 1249 | def create_task_cls(self): |
| 1250 | """Create a base task class bound to this app.""" |
| 1251 | return self.subclass_with_self( |
| 1252 | self.task_cls, name='Task', attribute='_app', |
| 1253 | keep_reduce=True, abstract=True, |
| 1254 | ) |
| 1255 | |
| 1256 | def subclass_with_self(self, Class, name=None, attribute='app', |
| 1257 | reverse=None, keep_reduce=False, **kw): |
no test coverage detected