Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: InfixOWL fixes and cleanup (#2024)
- InfixOWL fixes and cleanup. [PR #2024](#2024). - `rdflib.extras.infixowl.Restriction.__init__` will now raise a `ValueError` if there is no restriction value instead of an `AssertionError`. - Fixed numerous issues with `rdflib.extras.infixowl.Restriction.restrictionKind` which was essentially not working at all. - Fixed how `rdflib.extras.infixowl.Property.__repr__` uses `rdflib.namespace.OWL`. - Removed `rdflib.extras.infixowl.Infix.__ror__` and `rdflib.extras.infixowl.Infix.__or__` as they were broken. - Removed unused `rdflib.extras.infixowl.termDeletionDecorator`. - Added `rdflib.extras.infixowl.MalformedClassError` which will replace `rdflib.extras.infixowl.MalformedClass` (which is an exception) in the next major version. Final stage of update to InfixOWL, removing unused code, tidying, adding some docu-comments, minor improvements in robustness, updating previously-failing tests, adding more tests. Expanded documentation to follow. Co-authored-by: Iwan Aucamp <aucampia@gmail.com>
- Loading branch information