Commit Graph

11 Commits

Author SHA1 Message Date
Christoph Reiter
b2843b55f1 Some more logging
configure the root logger to log INFO for all loggers to stdout and
add our own logger which logs from DEBUG and up.
2023-08-19 23:43:21 +02:00
Christoph Reiter
96c1dc7365 Make sure to keep a reference to asyncio tasks
as suggested in the docs
2023-04-22 20:33:31 +02:00
Christoph Reiter
f813a29202 Print unhandled exceptions
Why are there no docs about this??
2022-03-13 10:51:29 +01:00
Christoph Reiter
a3a869b195 Work around a fastapi testclient bug with a middleware 2020-08-18 20:56:49 +02:00
Christoph Reiter
44937b5d4f Return 503 during the startup phase
So we never give invalid results because we haven't fetched everything
at least once.

Fixes #29
2020-08-18 20:43:34 +02:00
Christoph Reiter
bfb2e1dc8f Link the API in the header 2020-07-11 15:01:20 +02:00
Christoph Reiter
b49544f4aa Add a dummy API endpoint 2020-07-08 20:38:17 +02:00
Christoph Reiter
4cb1a11586 Switch the update loop from threads to asyncio 2020-05-27 08:55:27 +02:00
Christoph Reiter
41210d8f37 Port to FastAPI 2020-05-26 09:05:50 +02:00
Christoph Reiter
0bb4b0e659 Split app up into multiple modules
It's time..
2020-05-24 10:16:38 +02:00
Christoph Reiter
bf01b34838 Move Python app into its own directory 2020-05-24 09:09:49 +02:00