def to_dict(self):
        return {'access_key': self.access_key,
                'secret_key': self.secret_key,
                'session_token': self.session_token,
                'expiration': self.expiration,
                'request_id': self.request_id}
Test freezing a Mercurial clone.
dataset/ETHPy150Open darcyliu/storyboard/boto/sts/credentials.py/Credentials.to_dict--crossover with--dataset/ETHPy150Open pypa/pip/tests/functional/test_freeze.py/test_freeze_mercurial_clone