FrancisCrickInstitute / AIoD-Model-Registry

The core registry for all AI models available on AI on Demand
0 stars 0 forks source link

Initial Pydantic model/schema, test, and GitHub action #1

Closed sea-shunned closed 11 months ago

sea-shunned commented 11 months ago

Implemented a Pydantic model to translate the previous model specification used within the Napari plugin, and translated the 3 base models to this schema/spec. This may change slightly during the Napari integration, but this will be updated later if and when needed.

A pytest and accompanying GitHub action to run that test (on all JSONs) upon pushes & PRs have also been added. The GitHub action has been tested locally, but needs to exist on main before it can be run on GitHub proper.