Set_type_override_by_type : constraint in override class not working

In reply to vvpatel:

Can not possibly help you without more details of what “does not work” means.