jace/pydocflow — Issue #1: context is usually redundant
Author: jace
Created: 2012-03-02 13:24:21+00:00
State: open

The `context` parameter to `permissions` and transitions is redundant and gets in the way when using frameworks like Flask. It should be passed to the workflow's constructor once and accessed from there. If the workflow's transitions need to be called in a different context, creating a new copy of the workflow object is cheap.