1 parent 683db1e commit 16a4882Copy full SHA for 16a4882
2 files changed
video/src/vonage_video/models/audio_connector.py
@@ -28,9 +28,7 @@ class AudioTransportConfiguration(BaseModel):
28
@model_validator(mode='after')
29
def encoding_must_be_specified_for_json_transport(self):
30
if self.transport == AudioTransportTransport.JSON and not self.encoding:
31
- raise ValueError(
32
- "encoding must be specified when transport is JSON"
33
- )
+ raise ValueError("encoding must be specified when transport is JSON")
34
return self
35
36
video/tests/test_audio_connector.py
@@ -1,7 +1,7 @@
1
from os.path import abspath
2
3
-import responses
4
import pytest
+import responses
5
from pydantic import ValidationError
6
from vonage_http_client import HttpClient
7
from vonage_video import (
0 commit comments