Provide validation via API
Inference is provided via Python module since 2.0.1. Validation as independent step should be provided next, e.g.
import skosify
if not skosify.validate.labels(rdf):
print("your vocabulary is ugly!")
Should validation throw an error or just log exception? How can an application catch the error report?
Wouldn't it be more natural if the validate function/method returned a list of errors/warnings?
Good idea, so an empty result is good
Am 20. November 2017 14:40:38 MEZ schrieb Osma Suominen [email protected]:
Wouldn't it be more natural if the validate function/method returned a list of errors/warnings?
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/NatLibFi/Skosify/issues/52#issuecomment-345698238
-- Jakob Voß via Android
Was this issue solved by the check.py module? #64