engforge.dataframe.dataframe_property
- class dataframe_property(fget=None, fset=None, fdel=None, *args, **kwargs)[source]
Bases:
engforge_propcall 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- __call__(fget=None, fset=None, fdel=None, doc=None, *args, **kwargs)
this will be called when input is provided before property is set
- get_func_return(func)
ensures that the function has a return annotation, and that return annotation is in valid sort types