Fix ruff lint errors
This commit is contained in:
@@ -93,8 +93,8 @@ fields:
|
||||
|
||||
```python
|
||||
class Hello(msgspec.Struct, tag="hello"):
|
||||
langs: list[str] # as today: languages the model can produce
|
||||
model: str = "" # free-form model string (logging, debugging)
|
||||
langs: list[str] # as today: languages the model can produce
|
||||
model: str = "" # free-form model string (logging, debugging)
|
||||
modes: list[str] = ["segments"] # job granularities accepted
|
||||
```
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ class Node(msgspec.Struct, omit_defaults=True):
|
||||
#: "Language index maintenance" below).
|
||||
langs: dict[str, True] = {}
|
||||
|
||||
|
||||
class Data(msgspec.Struct):
|
||||
...
|
||||
#: API keys gating the translator service WebSocket (/_translate/{key}):
|
||||
|
||||
Reference in New Issue
Block a user