File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1717from ._proto import audio_frame_pb2 as proto_audio
1818from ._proto import ffi_pb2 as proto_ffi
1919from ._utils import get_address
20- from typing import Any , Union , no_type_check
20+ from typing import Any , Union
2121
2222
2323class AudioFrame :
@@ -202,7 +202,6 @@ def __repr__(self) -> str:
202202 f"duration={ self .duration :.3f} )"
203203 )
204204
205- @no_type_check
206205 @classmethod
207206 def __get_pydantic_core_schema__ (cls , * _ : Any ):
208207 from pydantic_core import core_schema
Original file line number Diff line number Diff line change 2020from ._ffi_client import FfiClient , FfiHandle
2121from ._utils import get_address
2222
23- from typing import Any , no_type_check
23+ from typing import Any
2424
2525
2626class VideoFrame :
@@ -205,7 +205,6 @@ def convert(
205205 def __repr__ (self ) -> str :
206206 return f"rtc.VideoFrame(width={ self .width } , height={ self .height } , type={ self .type } )"
207207
208- @no_type_check
209208 @classmethod
210209 def __get_pydantic_core_schema__ (cls , * _ : Any ):
211210 from pydantic_core import core_schema
You can’t perform that action at this time.
0 commit comments