diff --git a/src/vonage/ncco_builder/connect_endpoints.py b/src/vonage/ncco_builder/connect_endpoints.py index 82a35f76..b83e3fd0 100644 --- a/src/vonage/ncco_builder/connect_endpoints.py +++ b/src/vonage/ncco_builder/connect_endpoints.py @@ -1,6 +1,6 @@ from pydantic import BaseModel, HttpUrl, AnyUrl, constr, field_serializer, Field -from typing import Dict, Annotated -from typing_extensions import Literal +from typing import Dict +from typing_extensions import Annotated, Literal class ConnectEndpoints: @@ -29,7 +29,10 @@ class WebsocketEndpoint(Endpoint): type: Literal['websocket'] = 'websocket' uri: AnyUrl - contentType: Annotated[Literal['audio/l16;rate=16000', 'audio/l16;rate=8000'], Field(serialization_alias='content-type')] + contentType: Annotated[ + Literal['audio/l16;rate=16000', 'audio/l16;rate=8000'], + Field(serialization_alias='content-type'), + ] headers: dict = None @field_serializer('uri')