@@ -43,15 +43,15 @@ Always reference these instructions first and fallback to search or bash command
4343 python -c "
4444 from sql_db_utils import SQLSessionManager
4545 manager = SQLSessionManager()
46-
46+
4747 @manager.register_precreate('test_db')
4848 def test_precreate(tenant_id):
4949 return 'SELECT 1;'
50-
50+
5151 @manager.register_postcreate('test_db')
5252 def test_postcreate(tenant_id):
5353 return 'SELECT 2;'
54-
54+
5555 print('Precreate/Postcreate registration successful')
5656 "
5757 ```
@@ -117,7 +117,7 @@ sql-db-utils/
117117### Development Dependencies:
118118- ** Testing** : pytest, pytest-cov, coverage
119119- ** Linting** : ruff (replaces black, flake8, isort)
120- - ** Git hooks** : pre-commit
120+ - ** Git hooks** : pre-commit
121121- ** Type checking** : Built into package development
122122- ** Core Dependencies** : SQLAlchemy, sqlalchemy-utils, psycopg, python-dateutil, whenever
123123
@@ -221,4 +221,4 @@ sql-db-utils/
221221- Changes to sync version should be mirrored in async version
222222- Test both implementations when making session management changes
223223- Verify async patterns use proper ` await ` keywords
224- - Check that both versions handle errors consistently
224+ - Check that both versions handle errors consistently
0 commit comments