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 wraps.
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...
_backend = region.backend
while hasattr(_backend, 'proxied'):
_backend = _backend.proxied
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.
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
wraps.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.