Skip to content

Commit

Permalink
Add more specific type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed May 8, 2023
1 parent 0b7642c commit 78b1918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/alexa/intent.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ async def async_handle_intent(hass, message):
return alexa_response.as_dict()


def resolve_slot_data(key, request) -> dict:
def resolve_slot_data(key: str, request: dict) -> dict[str, str]:
"""Check slot request for synonym resolutions."""
# Default to the spoken slot value if more than one or none are found. Always
# passes the id and name of the nearest possible slot resolution. For
Expand Down

0 comments on commit 78b1918

Please sign in to comment.