mirror of
https://github.com/onyx-and-iris/vmr-http.git
synced 2026-04-19 08:03:30 +00:00
add docstrings
add documentation tags add some error handling
This commit is contained in:
14
src/vmr_http/models/bus.py
Normal file
14
src/vmr_http/models/bus.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""Models for the parameters of a bus."""
|
||||
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class BusParams(BaseModel):
|
||||
"""Parameters for a single bus."""
|
||||
|
||||
gain: Optional[float] = None
|
||||
mute: Optional[bool] = None
|
||||
mono: Optional[int] = None
|
||||
eq: Optional[bool] = None
|
||||
Reference in New Issue
Block a user