New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using docstrings with UDF #367

Closed
DougAJ4 opened this Issue Feb 16, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@DougAJ4

DougAJ4 commented Feb 16, 2016

Is it possible to add argument descriptions for UDFs, as well as the description of the function?

The code seems to allow for this, but the udf.py example does not include argument descriptions, and I can't get it to work.

@fzumstein

This comment has been minimized.

Member

fzumstein commented Feb 16, 2016

yes, function description are possible using simple docstrings but arg descriptions are currently broken, see #312

@DougAJ4

This comment has been minimized.

DougAJ4 commented Feb 16, 2016

Thanks for the quick response. It will be an excellent addition when fixed!

I have been using ExcelPython for over a year now (and Pyxll before that),
but have just started with xlwings. The good news is that all my
ExcelPython udfs seem to work with minimal changes under xlwings (i.e. just
replace the ExcelPython module with xlwings module).

You might like a look at my first xlwings effort at:
https://newtonexcelbach.wordpress.com/2016/02/14/use-matplotlib-from-excel-with-xlwings/

Thanks again.

Doug

On 17 February 2016 at 10:22, Felix Zumstein notifications@github.com
wrote:

yes, function description are possible using simple docsteings but arg
descriptions are currently broken, see #312
#312


Reply to this email directly or view it on GitHub
#367 (comment)
.

@fzumstein

This comment has been minimized.

Member

fzumstein commented Feb 17, 2016

yes, saw that, thanks a lot for this blog post! We're currently working on a bigger release that amongst other things streamlines the behaviour of the old xlwings with the ExcelPython part. So hopefully we can include the fix for argdocs in there.

@fzumstein fzumstein added the UDFs label Dec 5, 2016

@fzumstein fzumstein added this to the v0.10.1 milestone Dec 5, 2016

@fzumstein

This comment has been minimized.

Member

fzumstein commented Dec 5, 2016

fixed by #589

@fzumstein fzumstein closed this Dec 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment