instead of updating the Store on the fly the loading of the Store can now be called via endpoint /init/graph. Similar for fts and RDF2Vec
the /init route is behind HTTPBasicCredentials, User and PW defined in .env (resp. config.py)
Issue
[ ] unsure how the global variables loaded/initialized in main.py can be updated in the best way if changed at runtime. Maybe a better way would be Dependency Injection in FastAPI with Depends for all depending endpoints
creates a .env and docker-compose.yml for better maintenance
proposes an untested solution for https://github.com/epoz/shmarql/issues/9 https://github.com/epoz/shmarql/issues/10 https://github.com/epoz/shmarql/issues/11
/init/graph
. Similar for fts and RDF2Vec/init
route is behindHTTPBasicCredentials
, User and PW defined in.env
(resp.config.py
)Issue
[ ] unsure how the global variables loaded/initialized in
main.py
can be updated in the best way if changed at runtime. Maybe a better way would be Dependency Injection in FastAPI withDepends
for all depending endpoints