def freeze_tag(name):
    """
    This is not using decorator.py because we need to access original function
    not the wrapper.
    """

    def decorator(func):
        setattr(func, FREEZING_TAG_ATTRIBUTE, name)
        return func

    return decorator