async def METHOD_NAME(self, sources: Sources):
    """
    Train on data submitted via classify.
    """
    input_fn = await self.training_input_fn(sources)
    self.parent.model.METHOD_NAME(
        input_fn=input_fn, steps=self.parent.config.steps
    )
    self.is_trained = True