Skip to content

Commit

Permalink
feat: replace naive evaluation with lark
Browse files Browse the repository at this point in the history
* fixing expression by enforcing @ expression
* adding array support
  • Loading branch information
LeonardHd committed Nov 30, 2023
1 parent 0d3047d commit 8bb8f0e
Show file tree
Hide file tree
Showing 26 changed files with 1,048 additions and 893 deletions.
29 changes: 18 additions & 11 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ python = "^3.9"
azure-core = "^1.29.5"
xmltodict = "^0.13.0"
lxml = "^4.9.3"
lark = "^1.1.8"

[tool.poetry.group.dev.dependencies]
mutatest = "^3.1.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class ExpressionEvaluationError(Exception):
pass
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
from azure_data_factory_testing_framework.functions.function_argument import FunctionArgument
from azure_data_factory_testing_framework.functions.function_call import FunctionCall
from azure_data_factory_testing_framework.functions.function_parser import parse_expression
from azure_data_factory_testing_framework.functions.functions_repository import FunctionsRepository

__all__ = [
"FunctionArgument",
"FunctionCall",
"parse_expression",
"FunctionsRepository",
]

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8bb8f0e

Please sign in to comment.