@staticmethod
    def from_entity(entity, self_user_id):
        user_id = UserID(chat_id=entity.id.chat_id,
                         gaia_id=entity.id.gaia_id)
        return User(user_id, entity.properties.display_name,
                    entity.properties.first_name,
                    entity.properties.photo_url,
                    entity.properties.email,
                    (self_user_id == user_id) or (self_user_id is None))
Prints result of get_usage()
dataset/ETHPy150Open tdryer/hangups/hangups/user.py/User.from_entity--crossover with--dataset/ETHPy150Open danjac/Flask-Script/flaskext/script.py/Manager.print_usage