def user_data(self, access_token, response=None, *args, **kwargs):
        # If user id was not retrieved in the response, then get it directly
        # from weibo get_token_info endpoint
        uid = response and response.get('uid') or self.get_uid(access_token)
        user_data = self.get_json(
            'https://api.weibo.com/2/users/show.json',
            params={'access_token': access_token, 'uid': uid}
        )
        user_data['uid'] = uid
        return user_data
%jigsaw LANGUAGE - show visual code editor/generator
dataset/ETHPy150Open omab/python-social-auth/social/backends/weibo.py/WeiboOAuth2.user_data--crossover with--dataset/ETHPy150Open Calysto/metakernel/metakernel/magics/jigsaw_magic.py/JigsawMagic.line_jigsaw