Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix typo in in_progress_instances #2541

Merged
merged 5 commits into from
Sep 21, 2024
Merged

Conversation

danielbrunt57
Copy link
Collaborator

in_progess_instances -> in_progress_instances

Fix typo in @callback: 
`in_progess_instances` -> `in_progress_instances`
@alandtse
Copy link
Owner

Does a caller function need to be changed?

danielbrunt57 and others added 3 commits September 18, 2024 00:07
Changed:
'from .config_flow import in_progess_instances'
to:
'from .config_flow import in_progress_instances'

There are no other references in this file, or any other file.
@callback
def in_progress_instances(hass):
    """Return a set of in-progress Alexa Media flows."""
    return {
        entry["flow_id"]
        for entry in hass.config_entries.flow.async_progress()
        if entry["handler"] == DOMAIN  # Ensure only Alexa Media flows are included
    }
@danielbrunt57
Copy link
Collaborator Author

danielbrunt57 commented Sep 18, 2024

Sorry, I thought @jleinenbach only needed the name fixed in config_flow.
This addresses his issue #2523 (which I had missed).
Also see issue #2519 where my confusion arose...

@alandtse alandtse changed the title fix: typo in @callback fix: fix typo in in_progress_instances Sep 21, 2024
@alandtse alandtse merged commit 5b26cd3 into alandtse:dev Sep 21, 2024
3 checks passed
@danielbrunt57 danielbrunt57 deleted the fix_typo branch October 3, 2024 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants