-
Notifications
You must be signed in to change notification settings - Fork 565
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Raise ValueError for unsupported
bind_namespace
values
This patch changes `NamespaceManager.__init__` to raise a `ValueError` when it receives an unsupported value for `bind_namespaces`. Other changes: - Added a Literal type for valid `bind_namespaces` values, with this type checkers will raise an error if an invalid string is supplied as an argument. - Rename some variables/properties to have a underscore in front to make it clear they are not part of the RDFLib public API.
- Loading branch information
Showing
3 changed files
with
114 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters