BIG PYTHON REFACTOR

Python scripts moved out of python/ folder to root to be unified with plugins

+ frontend extension around api calls
This commit is contained in:
frdel 2026-03-05 17:28:11 +01:00
parent f94b7d742c
commit d02dda3667
326 changed files with 1096 additions and 862 deletions

8
api/restart.py Normal file
View file

@ -0,0 +1,8 @@
from helpers.api import ApiHandler, Request, Response
from helpers import process
class Restart(ApiHandler):
async def process(self, input: dict, request: Request) -> dict | Response:
process.reload()
return Response(status=200)