warnings.warn(f'Object {name} has an issue.') maybe make it more descriptive
Activity