Skip to content
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

Migration path / documentation for going from version 0.1.3 to 0.1.7 #51

Open
atocharnaud opened this issue Apr 20, 2023 · 1 comment
Open

Comments

@atocharnaud
Copy link

Hi,

With the help of Appsilon a few years ago we implemented some data validation using the 0.1.3 version of this package. We need to catch back with the recent development you guys did. We found API to have significantly changed compared to what we are using. Do you have a migration path or some documentation to make it easier ?

Error: 'create_validator' is not an exported object from 'namespace:data.validator'

Merci

Arnaud Atoch

@jakubnowicki
Copy link
Member

Hi Arnaud,

Unfortunately, there is no documentation related to the migration between those versions. In general, the API was heavily reworked and a lot of functions do not exist anymore or behave in a slightly different way.

Giving you some hints:

  • create_validator has been renamed to data_validation_report
  • assert_rows/cols/if have been renamed to validate_rows/cols/if (please be aware that there were also some changes when it comes to function arguments)
  • going through the main tutorial can help you understand the new API: https://appsilon.github.io/data.validator/articles/data_validator.html

I hope that this will help,
Jakub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants