-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
feat(client): add connect_or_create #997
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @AdeelK93!
r.e. testing, you should add tests to databases/tests/test_create.py
and databases/sync_tests/test_create.py
. See these docs for information on the database testing setup and let me know if you need any help, I don't think all the setup there is particularly well documented right now.
thanks @RobertCraigie - I moved the tests to the files you mentioned, and renamed the function to snake case. Any other feedback? |
hi @RobertCraigie, looks like one test failed, but it’s a transient error (incomplete read while downloading node binary). the tests all passed on my fork, could we please retry? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks! Great work :)
Change Summary
Adds connectOrCreate to support #754
Please let me know if I should make write tests (and where to put them). Thanks @RobertCraigie for your work on this great library!
Checklist
Agreement
By submitting this pull request, I confirm that you can use, modify, copy and redistribute this contribution, under the terms of your choice.