def register_scr_task(self, *args, **kwargs):
        """Register a screening task."""
        kwargs["task_class"] = ScrTask
        return self.register_task(*args, **kwargs)
def register_scr_task ( self , * args , ** kwargs ) : kwargs [ "task_class" ] = ScrTask return self . register_task ( * args , ** kwargs )
Register a screening task.