Make the Result class more convienient to use

Action was added to mistral_lib.actions to make it simpler to use.
However, generally you also need the Result class. This adds it in the
same place, so actions developers only need to import one module to
access both classes.

Change-Id: I51ae3440ac62ebad5ae13a5e3edf01df66af71c7
This commit is contained in:
Dougal Matthews 2017-04-07 10:46:23 +01:00
parent 2bf7602755
commit c0982f4797
1 changed files with 2 additions and 1 deletions

View File

@ -13,5 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
from mistral_lib.actions.base import Action
from mistral_lib.actions.types import Result
__all__ = ['Action']
__all__ = ['Action', 'Result']