

def delete_messages_for_user(self, msgs, user):
    '\n        Delete messages for a user.\n        \n        @param msgs: iterable of msgs to delete for user\n        @type msgs: iterable\n        @param user: user object whose messages to delete\n        '
    user.messages.remove(*list(msgs))

dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/expedient/common/messaging/models.py DatedMessageManager.delete_messages_for_user/original