Fix oauth2 helper user step typing (#50618)

pull/49835/head
Martin Hjelmare 2021-05-14 23:39:14 +02:00 committed by GitHub
parent bcd8f43e7b
commit e32dc306e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -316,7 +316,11 @@ class AbstractOAuth2FlowHandler(config_entries.ConfigFlow, metaclass=ABCMeta):
""" """
return self.async_create_entry(title=self.flow_impl.name, data=data) return self.async_create_entry(title=self.flow_impl.name, data=data)
async_step_user = async_step_pick_implementation async def async_step_user(
self, user_input: dict[str, Any] | None = None
) -> FlowResult:
"""Handle a flow start."""
return await self.async_step_pick_implementation(user_input)
@classmethod @classmethod
def async_register_implementation( def async_register_implementation(