From ad1800976be71234783faec6d77b7db811af8af5 Mon Sep 17 00:00:00 2001 From: Stan Lagun Date: Fri, 4 Jul 2014 13:45:22 +0400 Subject: [PATCH] YAQL version updated to 0.2.3 YAQL 0.2.3 contains one small change that would allow to forbid usage of uninitialized local variables Also removed YAQL function binding that is available in YAQL 0.2.3 out of the box Change-Id: I96f455e50add8666c4e65eb421bea5af57055485 --- murano/engine/system/yaql_functions.py | 4 ---- requirements.txt | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/murano/engine/system/yaql_functions.py b/murano/engine/system/yaql_functions.py index 6da0dc1c..41113163 100644 --- a/murano/engine/system/yaql_functions.py +++ b/murano/engine/system/yaql_functions.py @@ -24,7 +24,6 @@ import types import jsonpatch import jsonpointer import yaql.context -import yaql.functions.builtin as yaql_builtin import murano.common.config as cfg import murano.dsl.helpers as helpers @@ -306,9 +305,6 @@ def register(context): context.register_function(_int, 'int') context.register_function(_patch, 'patch') context.register_function(_random_name, 'randomName') - # Temporary workaround as YAQL does not provide "where" function for - # dictionaries, and there is no easy way to implement it there. - context.register_function(yaql_builtin.dict_attribution, 'get') # Temporary workaround, these functions should be moved to YAQL context.register_function(_keys, 'keys') context.register_function(_values, 'values') diff --git a/requirements.txt b/requirements.txt index 29001728..9d1b95e3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32,5 +32,5 @@ oslo.config>=1.2.1 oslo.messaging>=1.3.0 # not listed in global requirements -yaql>=0.2.2,<0.3 +yaql>=0.2.3,<0.3 python-muranoclient>=0.5.2