Make FlowResult a generic type (#111952)

This commit is contained in:
Erik Montnemery 2024-03-07 12:41:14 +01:00 committed by GitHub
parent 008e025d5c
commit 82efb3d35b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 95 additions and 80 deletions

View file

@ -182,7 +182,7 @@ class BaseZwaveJSFlow(ConfigEntryBaseFlow, ABC):
@property
@abstractmethod
def flow_manager(self) -> FlowManager[ConfigFlowResult]:
def flow_manager(self) -> FlowManager[ConfigFlowResult, str]:
"""Return the flow manager of the flow."""
async def async_step_install_addon(