atom.property module
- class atom.property.Property(fget=None, fset=None, fdel=None, cached=False)[source]
Bases:
Member
A Member which behaves similar to a Python property.
- property cached
Test whether or not this is a cached property.
- deleter(func)[source]
Use the given function as the property deleter.
This method is intended to be used as a decorator. The original function will still be callable.
- property fdel
Get the deleter function for the property.
This will not find a specially named _del_* function.
- property fget
Get the getter function for the property.
This will not find a specially named _get_* function.
- property fset
Get the setter function for the property.
This will not find a specially named _set_* function.
- getter(func)[source]
Use the given function as the property getter.
This method is intended to be used as a decorator. The original function will still be callable.