Skip to content

Conversation

@puja-trivedi
Copy link
Collaborator

@puja-trivedi puja-trivedi commented Jul 9, 2025

resolving #182

reverted changes made to bican_biolink in commit using the bican_biolink_edit.py script. No longer need to change range as have now fixed that problem directly in jsonldcontext and no need to explicitly define pattern because the type in pydantic is Literal.

Pydantic Literal:
Used to specify that a field's value must be exactly one of a predefined set of literal values. This is particularly useful for enforcing strict validation on fields that should only accept specific, known values.

@puja-trivedi puja-trivedi merged commit 9cecd49 into brain-bican:main Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant