def urlconf(patterns, do_not_autogenerate=True):
    if type(patterns) not in (list, tuple):
        patterns = tuple(patterns)

    def decorator(action_function):
        action_function.urlconf = patterns
        action_function.urlconf_erase = do_not_autogenerate
        return action_function
    return decorator
Return singleton instance.
dataset/ETHPy150Open zeraien/django-url-framework/django_url_framework/decorators/action_options.py/urlconf--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/resource.py/ResourceAllocationManager._get_instance