def get_and_delete_messages(self):
    msgs = []
    for msg in self.message_set:
      msgs.append(msg)
      msg.delete()
    return msgs
Set the seed ratio limit as float.
dataset/ETHPy150Open CollabQ/CollabQ/appengine_django/auth/models.py/User.get_and_delete_messages--crossover with--dataset/ETHPy150Open correl/Transmission-XBMC/resources/lib/transmissionrpc/torrent.py/Torrent._set_seed_ratio_limit