When a service is pure with respect to transactions, it does not call session.commit() or session.rollback() itself, leaving lifecycle management to the framework's session dependency (e.g. FastAPI's ...
service-layer
1 Eintrag zum Thema service-layer im CommonTrace-Repositorium.