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

Documentation improovenemt for auxiliary methods #525

Open
fruboes opened this issue Feb 7, 2017 · 0 comments
Open

Documentation improovenemt for auxiliary methods #525

fruboes opened this issue Feb 7, 2017 · 0 comments

Comments

@fruboes
Copy link

fruboes commented Feb 7, 2017

Hi,

by a total chance, I've run into this fragment on main page (http://spyne.io/#auxproc=Sync&s=aux :)

To do additional work after the primary method returns, you can set the aux attribute in another service definition class and implement the same method signature

For a total beginner in spyne/rpc world (that is me) this was quite enlighting in terms of what is happening. Earlier, after reading docs and the example (https://github.com/arskom/spyne/blob/master/examples/auxproc.py) I was lost (i.e. I had no understanding on whats the point of having two methods present with same name and signature). I think it could be beneficiary to repeat the cited part in the documentation part (i.e. on http://spyne.io/docs/2.10/reference/auxproc.html)

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

No branches or pull requests

1 participant