Hacker News new | ask | show | jobs
by eqvinox 1 hour ago
> # calls helpers that eventually call commit()

Show, don't tell. The article should've included an example of these helpers.

All in all, this feels poorly written, but also poorly thought out. The DB layer can and should throw an exception if you manually begin/commit inside a context manager. Please do blame it if it doesn't.