mirror of
https://github.com/onyx-and-iris/vmr-http.git
synced 2026-04-16 14:43:31 +00:00
add docstrings
add documentation tags add some error handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user