added CacheRegion.actual_backend

Declined
#65 · Created  · Last updated

Declined pull request

Dear contributor - This pull request is being moved to Gerrit, at https://gerrit.sqlalchemy.org/#/c/zzzeek/dogpile.cache/+/796, where it may be tested and reviewed more closely. As such, the pull request itself is being marked "closed" or "declined", however your contribution is merely being moved to our central review system. Please register at https://gerrit.sqlalchemy.org#/register/ to send and receive comments regarding this item.

Closed by: ·2018-06-27

Description

added CacheRegion.actual_backend accessor, along with tests for Proxied and non-Proxied scenarios.

this was implemented as a property with a cached result, to minimize inspections.

it could also be implemented as a function with a force_compute=None argument to utilize a cached value.

0 attachments

0 comments

Loading commits...