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

Docs page has wrong Cursor.execute signature #19

Open
gitbuda opened this issue Sep 15, 2021 · 1 comment
Open

Docs page has wrong Cursor.execute signature #19

gitbuda opened this issue Sep 15, 2021 · 1 comment
Labels
documentation documentation

Comments

@gitbuda
Copy link
Member

gitbuda commented Sep 15, 2021

https://memgraph.github.io/pymgclient/cursor.html#mgclient.Cursor.execute contains only param=None, the correct is execute(query, params=None).

@antaljanosbenjamin
Copy link
Contributor

The first argument of every function is cropped. I assume because they should be the argument representing self. The same happens for fetchmany also. After adding a first "dummy" parameter, the docs page is rendered properly. I think we should check all doc strings and update them accordingly.

@gitbuda gitbuda added the documentation documentation label Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation documentation
Projects
None yet
Development

No branches or pull requests

2 participants