Join GitHub today
extending proxies with the actual backend? #123
Migrated issue, originally created by jvanasco (jvanasco)
In several situations, I must access the actual backend of a dogpile region which has multiple proxies applied by
i've usually been handling it during setup by caching the value onto the topmost object after configuring the region. I derive the actual backend via...
i think accessing this is useful to enough people, so I propose extending wraps/ProxyBackend to track the final proxy/actual backend on the object within dogpile itself.
I am willing to generate a PR, but if there are objections to this I won't bother.
jvanasco (jvanasco) wrote:
just adding to this ticket a link to a writeup on the use-case scenario: I needed to start working with the raw redis client to accomplish some work via lua scripting.
Michael Bayer (zzzeek) wrote:
Added method :meth: