[openstack-dev] [Mistral] Action context passed to all action executions by default
Renat Akhmerov
rakhmerov at mirantis.com
Fri Dec 12 06:16:19 UTC 2014
> Maybe put all these different context under a kwarg called context?
>
> For example,
>
> ctx = {
> "env": {...},
> "global": {...},
> "runtime": {
> "execution_id": ...,
> "task_id": ...,
> ...
> }
> }
>
> action = SomeMistralAction(context=ctx)
IMO, that is a nice idea. I like it and would go further with it unless someone else has any other thoughts.
Renat
More information about the OpenStack-dev
mailing list