-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: replace naive evaluation with lark
* fixing expression by enforcing @ expression * adding array support
- Loading branch information
Showing
26 changed files
with
1,048 additions
and
893 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/azure_data_factory_testing_framework/exceptions/expression_evaluation_error.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
class ExpressionEvaluationError(Exception): | ||
pass |
6 changes: 0 additions & 6 deletions
6
src/azure_data_factory_testing_framework/functions/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
] |
27 changes: 0 additions & 27 deletions
27
src/azure_data_factory_testing_framework/functions/_expression_activity.py
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
src/azure_data_factory_testing_framework/functions/_expression_dataset.py
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
src/azure_data_factory_testing_framework/functions/_expression_iteration_item.py
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
src/azure_data_factory_testing_framework/functions/_expression_linked_service.py
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
src/azure_data_factory_testing_framework/functions/_expression_parameter.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.