-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Current:
- adding pattern requirement to category slot. this adds a
field_validatorin pydantic to check the value assigned tocategoryfollow a specific pattern. We are hard-coding the pattern to be^bican:[A-Z][A-Za-z]+$. This will cause an error for classes that are inherited from models defined outside ofbicani.e.biolink.
Solution:
- remove pattern. there is no reason for category to be validated since the value is not assigned from input data.
- remove bican_biolink_edit completely. Since we are now modifiying the
rangeofcategorydirectly in the jsonld context, I don't think we need to change therangein the yaml fromuriorcurietocuriesince they both get translated tostrin pydantic - same fix but for schemasheets. Need to merge this PR
- close this PR, I don't think we need to use pattern
Metadata
Metadata
Assignees
Labels
No labels