def validate(self, props):
        super(Kill, self).validate(props)

        if 'pid' in props:
            props['pid'] = int(props['pid'])

        try:
            if 'signum' in props:
                props['signum'] = to_signum(props['signum'])
        except __HOLE__:
            raise MessageError('signal invalid')
dataset/ETHPy150Open circus-tent/circus/circus/commands/kill.py/Kill.validate