chia-blockchain/tests/db
Kyle Altendorf 61b497a701
add a transactional reader as DBWrapper2.reader() (#13468)
* add a transactional reader as `DBWrapper2.reader()`

* contextlib.AbstractAsyncContextManager

* try a minimal test

* rework test to allow the read to finish so the write can finish the commit after that

* pylint disable

* WAL!!!

* more tests

* if TYPE_CHECKING for typing variable assignments

* future

* cover some more test cases
2022-09-30 17:41:33 -05:00
..
__init__.py Move DB test to new directory (#12831) 2022-08-16 03:32:20 -05:00
test_db_wrapper.py add a transactional reader as DBWrapper2.reader() (#13468) 2022-09-30 17:41:33 -05:00