add docstrings

add documentation tags

add some error handling
This commit is contained in:
2026-04-05 00:22:50 +01:00
parent 8d73610ff5
commit 0eca324e38
11 changed files with 535 additions and 9 deletions

View File

@@ -1,5 +1,8 @@
"""module containing dependencies for the API endpoints."""
from fastapi import Request
def get_voicemeeter_client(request: Request):
"""Dependency to get the Voicemeeter client from the application state."""
return request.app.state.voicemeeter