def set_policy_type(sender, instance, **kwargs):
    instance.type = sender.__name__
Sets the type to the child class's name.
dataset/ETHPy150Open bmbouter/Opus/opus/project/dcmux/signals.py/set_policy_type