def bool_or_str(*text):
    def bool_or_value(obj):
        if obj in text:
            return obj
        else:
            return asbool(obj)
    return bool_or_value
Change the asset keys associated with a user/photo.
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/sqlalchemy/util/langhelpers.py/bool_or_str--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/update_user_photo_test.py/UpdateUserPhotoTestCase.testReplaceUserPhoto