def auto_attr(func):
    return OneTimeProperty(func)


#-----------------------------------------------------------------------------
# Deprecated API
#-----------------------------------------------------------------------------

# For backwards compatibility
Decorator to create OneTimeProperty attributes.
dataset/ETHPy150Open nipy/nitime/nitime/descriptors.py/auto_attr