monarch-initiative / biolink-api

API for linked biological knowledge
https://api.monarchinitiative.org/api/
BSD 3-Clause "New" or "Revised" License
64 stars 25 forks source link

Renames 'category' to 'categories' in datamodel.serializers #388

Closed falquaddoomi closed 2 years ago

falquaddoomi commented 2 years ago

This PR changes the category field to categories, which is also an issue upstream in ontobio, i.e. https://github.com/biolink/ontobio/issues/615. I've submitted a PR for the fix in ontobio (https://github.com/biolink/ontobio/pull/616), but until that goes through I've switched the dependency in requirements.txt from the PyPI ontobio version to my custom version that includes the fix. I can of course remove my ad-hoc requirement if need be.

itsdangerous was also pinned to a specific version to circumvent an issue that's been fixed in later versions of Flask.