Add missing camera functions to pylint type hints plugin (#135676)

pull/135685/head
Robert Resch 2025-01-15 14:53:08 +01:00 committed by GitHub
parent 0eea265415
commit 8ae02aaba0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 28 additions and 0 deletions

View File

@ -1017,6 +1017,34 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
return_type=None,
has_async_counterpart=True,
),
TypeHintMatch(
function_name="async_handle_async_webrtc_offer",
arg_types={
1: "str",
2: "str",
3: "WebRTCSendMessage",
},
return_type=None,
),
TypeHintMatch(
function_name="async_on_webrtc_candidate",
arg_types={
1: "str",
2: "RTCIceCandidateInit",
},
return_type=None,
),
TypeHintMatch(
function_name="close_webrtc_session",
arg_types={
1: "str",
},
return_type=None,
),
TypeHintMatch(
function_name="_async_get_webrtc_client_configuration",
return_type="WebRTCClientConfiguration",
),
],
),
],