Core code styling improvements (#85963)
This commit is contained in:
parent
8e5236528f
commit
64c2340fab
13 changed files with 106 additions and 53 deletions
|
@ -175,7 +175,10 @@ class FlowManager(abc.ABC):
|
|||
def async_has_matching_flow(
|
||||
self, handler: str, context: dict[str, Any], data: Any
|
||||
) -> bool:
|
||||
"""Check if an existing matching flow is in progress with the same handler, context, and data."""
|
||||
"""Check if an existing matching flow is in progress.
|
||||
|
||||
A flow with the same handler, context, and data.
|
||||
"""
|
||||
return any(
|
||||
flow
|
||||
for flow in self._async_progress_by_handler(handler)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue