def set_view_func_public(func):
    setattr(func, 'STRONGHOLD_IS_PUBLIC', True)
Set the STRONGHOLD_IS_PUBLIC attribute on a given function to True
dataset/ETHPy150Open mgrouchy/django-stronghold/stronghold/utils.py/set_view_func_public