nih-cfde / cfde-deriva

Collaboration point for miscellaneous CFDE-deriva scripts
Other
2 stars 3 forks source link

Stop using deprecated frictionless APIs #361

Closed karlcz closed 1 year ago

karlcz commented 2 years ago

Recent frictionless-py versions emit

WARNING - /.../.local/lib/python3.9/site-packages/frictionless/actions/validate.py:101: UserWarning: 
Function "validate_package" is deprecated (use "package.validate").

and similar. Investigate the deprecation info and the suggested alternative.

karlcz commented 2 years ago

A patch for this is included in the sample_prep_method feature branch PR.

karlcz commented 1 year ago

This is something we can only see when inspecting diagnostic outputs on the server side, but I can confirm that it works.