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: typo in @callback #2541

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open

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...

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