Make WorkContext.env customize-able and propagate-able #465
Labels
enhancement
no stale
Use this label to prevent the automated stale action from closing this PR/Issue.
ATM the
env
of theWorkContext
comes from the collection.This is sub-optimal because you cannot customize it for specific cases (eg: by setting a ctx key before calling a method).
Proposal:
self.env
should be assigned on__init__
and got from kw args. Defaults tocollection.env
if not available.It should be added to propagate-able args too.
The text was updated successfully, but these errors were encountered: