Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional typecheck to curie validation (#542)
Due to the lack of type safety, i can pass a non string to the `_is_curie` method, which causes the method to fail hard when its trying to do regex matching. Here, i add an additional safety net around the matching processing, making sure the value is not None, and is indeed a string (and not a number or some other kind of non-string).
- Loading branch information