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

Small wiki doc issue with SQLBackend #53

Closed
mrckzgl opened this issue May 24, 2024 · 1 comment
Closed

Small wiki doc issue with SQLBackend #53

mrckzgl opened this issue May 24, 2024 · 1 comment

Comments

@mrckzgl
Copy link

mrckzgl commented May 24, 2024

In the wiki this:

import grand
from grand.backends import SQLBackend

grand.Graph(backend=SQLBackend("sqlite:///my-file.db"))

should be this:

import grand
from grand.backends import SQLBackend

grand.Graph(backend=SQLBackend(db_url="sqlite:///my-file.db"))

since the SQLBackend constructor only has kwargs, and no positional args.
I am unable to edit the wiki, hence the issue.

best

@j6k4m8
Copy link
Member

j6k4m8 commented May 24, 2024

Thank you @mrckzgl, I just fixed it!

@j6k4m8 j6k4m8 closed this as completed May 24, 2024
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

2 participants