code: def on_epoch_end(self, epoch_idx, logs):
      self.container.apply_epoch_constraints(epoch_idx)
  
imports: from fnmatch import fnmatch
  import torch
  from .callbacks import Callback
label_desc: Use image node_id 3 for calling the ConstraintCallback obj's underlying member method code with example usage: obj.on_epoch_end(epoch_idx, logs) without return types