Skip to content
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
Closed

Using docstrings with UDF #367

DougAJ4 opened this issue Feb 16, 2016 · 4 comments
Labels
Milestone

Comments

@DougAJ4
Copy link

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
Copy link
Member

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

@DougAJ4
Copy link
Author

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
Copy link
Member

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
Copy link
Member

fixed by #589

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants