, methodname=None, exclude=None)

Return a decorator which would borrow docstring for **kwargs


methodname : None or str

Name of the method from which to borrow. If None, would use the same name as of the decorated method

exclude : None or list of arguments to exclude

If function does not pass all **kwargs, you would need to list those here to be excluded from borrowed docstring


TODO: take care about *args in a clever way if those are also present


In the simplest scenario – just grab all arguments from parent class:

def met1(self, bu, **kwargs):