code: def on_train_end(self, logs: Dict):
      self.notif.send_notification("End of the training.")
  
file_path: poutyne/examples/medium_post/train_with_alert_callback.py
imports: import smtplib
  from typing import Dict
  import torch
  import torch.nn
  from notif.notificator import EmailNotificator
  from torch.utils.data import random_split
  from torchvision.datasets import MNIST
  from torchvision.transforms import ToTensor
  from poutyne import Experiment, Callback
label_desc: Use image node_id 4 for calling the TrainingAlertCallback obj's underlying member method code with example usage: obj.on_train_end(logs) without return types