HomeSoftware Heritage

Postgres storage: introduce a db() context manager

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Postgres storage: introduce a db() context manager

This helper avoids us repeating the get_db/put_db pattern all the time.

Details

Provenance
olasdAuthored on Oct 2 2019, 5:04 PM
vlorentzPushed on Oct 30 2019, 5:21 PM
Differential Revision
D2066: Postgres storage: introduce a db() context manager

Commit No Longer Exists

This commit no longer exists in the repository.