mirror of
https://github.com/home-assistant/core.git
synced 2025-12-26 22:18:40 +00:00
Improve notify type hints (#86685)
This commit is contained in:
@@ -1967,6 +1967,10 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
|
||||
ClassTypeHintMatch(
|
||||
base_class="BaseNotificationService",
|
||||
matches=[
|
||||
TypeHintMatch(
|
||||
function_name="targets",
|
||||
return_type=["dict[str, Any]", None],
|
||||
),
|
||||
TypeHintMatch(
|
||||
function_name="send_message",
|
||||
arg_types={1: "str"},
|
||||
|
||||
Reference in New Issue
Block a user