aplbrain / grand

Your favorite Python graph libraries, scalable and interoperable. Graph databases in memory, and familiar graph APIs for cloud databases.
Apache License 2.0
80 stars 6 forks source link

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

Closed acthecoder23 closed 3 months ago

acthecoder23 commented 3 months ago

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.

codspeed-hq[bot] commented 3 months ago

CodSpeed Performance Report

Merging #51 will not alter performance

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

Summary

✅ 4 untouched benchmarks

j6k4m8 commented 3 months ago

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

j6k4m8 commented 3 months ago

Just added this to v0.5.1 on PyPI!

acthecoder23 commented 3 months ago

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