def ccode(expr, assign_to=None, **settings):

    return CCodePrinter(settings).doprint(expr, assign_to)
Check permissions attribute is set and that it is a dict.
dataset/ETHPy150Open sympy/sympy/sympy/printing/ccode.py/ccode--crossover with--dataset/ETHPy150Open brack3t/django-braces/braces/views/_access.py/MultiplePermissionsRequiredMixin._check_permissions_attr