engforge.properties.engforge_prop
- class engforge_prop(fget=None, fset=None, fdel=None, *args, **kwargs)[source]
Bases:
objectan interface for extension and identification and class return support
- Use as follows:
@engforge_prop def our_custom_function(self) -> return_type:
pass
call with the function you want to wrap in a decorator
Methods
deleterensures that the function has a return annotation, and that return annotation is in valid sort types
gettersetterAttributes
must_returnvalid_types