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

added SQLBackend commit/close methods and a TestBackendPersistence me… #51

Merged
merged 1 commit into from
May 13, 2024

Conversation

acthecoder23
Copy link
Contributor

Added commit and close methods to SQLBackend, as well as a test for persistence. The new test passes, as do the rest of the tests in test_backends.py, after adding the change.

Copy link

codspeed-hq bot commented May 13, 2024

CodSpeed Performance Report

Merging #51 will not alter performance

Comparing acthecoder23:master (60fa93c) with master (cb67563)

Summary

✅ 4 untouched benchmarks

@@ -131,6 +131,29 @@
),
)

# @pytest.mark.parametrize("backend", backend_test_params)
class TestBackendPersistence:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smart :)

@j6k4m8
Copy link
Member

j6k4m8 commented May 13, 2024

Thank you @acthecoder23!! And +1 for the tests too! :)

@j6k4m8 j6k4m8 merged commit 52f6db8 into aplbrain:master May 13, 2024
7 checks passed
@j6k4m8
Copy link
Member

j6k4m8 commented May 13, 2024

Just added this to v0.5.1 on PyPI!

@acthecoder23
Copy link
Contributor Author

Thank you @j6k4m8 ! I wasn't sure the details of the benchmarking decorator in the tests hence leaving it as a comment.

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

Successfully merging this pull request may close these issues.

None yet

2 participants