def __getstate__(self):
        # pickle
        pickle = dict(self.__dict__)
        try:
            del pickle['_api']  # do not pickle the API reference
        except __HOLE__:
            pass
        return pickle
dataset/ETHPy150Open balanced/status.balancedpayments.com/situation/tweepy/models.py/Model.__getstate__