def unfollow(sender, **kwargs): target = kwargs.get('target', None) if sender and target: UserMining.unfollowPeople(sender, target) return True else: return False
def test_run(self): usermini = UserMining("klb-3713") usermini.run()
def initUserData(cls, uid): book_mining_thread = BookMining(uid) book_mining_thread.start() user_mining_thread = UserMining(uid) user_mining_thread.start()