-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add VtlEngine dependency and Syntax validation on VTL Artefacts #230
base: develop
Are you sure you want to change the base?
Conversation
jfrancma
commented
Feb 19, 2025
- Add post_init validations in Ruleset, UserDefinedOperator and Transformation.
- Create the generate_vtl_script method that generates a string with all Rulesets, UserDefinedOperators and Transformations.
- Create tests for post_init validations and generate_vtl_scripts
- change vtl samples jsons to work with pot_init validations
…or and Transformation
…or and Transformation
… generate_vtl_script test plus change vtl_ts_checks to correct validations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to make some minor changes to ensure checks are correct. Remember as well to update the branch using the below button
tests/model/test_vtl.py
Outdated
user_defined_operator_schemes=[userdefinedoperatorscheme], | ||
) | ||
|
||
transformationscheme.generate_vtl_script() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to make assertions on this tests. Maybe add a vtl file on samples and check the content to it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a sample file for the assertion and add assertion to the test