def register_dte_task(self, *args, **kwargs):
        """Register a Dte task."""
        kwargs["task_class"] = DteTask
        return self.register_task(*args, **kwargs)
def register_dte_task ( self , * args , ** kwargs ) : kwargs [ "task_class" ] = DteTask return self . register_task ( * args , ** kwargs )
Register a Dte task.