I want to make the tasks in my flow are reusable as possible, therefore I have tasks with rich configurable parameters. My idea was to provide those via prefect.context, but for me, it seemed like it is not possible to store a flow with its context. So I figured maybe I can run something like a "setup"-task which returns the config dict and stores the task. I wanted to produce a storable instance which contains the flow with its specific config.
Probably there is a more straight-forward way in prefect or I simply messed up with storing the context.