Closed fils closed 2 years ago
made a pull request for this.. it was so simple even I could do it.. ;)
Many thanks @fils , does this update now work better?
We bumped the pySHACL
version as well,
and have added you into the committers list!
https://pypi.org/project/kglab now @ 0.4.2
@ceteri everything is working great.. no more message and everything runs for me..
Awesome, thank you @fils
I'll try to troubleshoot on the other issue – the library adjusted some settings to align with RDFlib v6
I'm submitting a
Current Behaviour:
Running pyshacl return a warning
_Usage of abort_on_error is deprecated. Use abort_onfirst instead.
Which is annoying when processing 1K files via dask :)
Expected Behaviour:
no such warning
Steps to reproduce:
Validate with pyshacl.. You can see this error in pages like https://derwen.ai/docs/kgl/ex5_0/ too.
Environment:
I have my environment file at https://github.com/gleanerio/notebooks/blob/master/environment.yml but it's not really needed with this.
Ref https://github.com/RDFLib/pySHACL to see
The fix is simple (I hope). Just edit the file https://github.com/DerwenAI/kglab/blob/b93dbd31446392cbe5f274c4dd113af06befea00/kglab/kglab.py
Replace abort_on_error with abort_on_first
I think that is all that is needed.