Warning
DEPRECATED — this repository is archived and no longer maintained.
Model catalog API v1.8.0 was backed by an Apache Fuseki RDF triplestore. It is replaced by model-catalog-api v2.0.0, backed by PostgreSQL and Hasura GraphQL.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: v1.8.0
- Build package: org.openapitools.codegen.languages.PythonFastAPIServerCodegen
Python >= 3.8
To run the server, please execute the following from the root directory:
pip3 install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 8080and open your browser at http://localhost:8080/docs/ to see the docs.
To run the server on a Docker container, please execute the following from the root directory:
docker-compose up --buildTo run the tests:
pip3 install pytest
PYTHONPATH=src pytest tests