Improve config flow type hints (part 1) (#124343)
* Improve config flow type hints * Revert sms
This commit is contained in:
parent
67bc568db6
commit
913e5404da
65 changed files with 348 additions and 114 deletions
|
@ -63,7 +63,9 @@ class OctoPrintConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||
"""Handle a config flow for OctoPrint."""
|
||||
self._sessions: list[aiohttp.ClientSession] = []
|
||||
|
||||
async def async_step_user(self, user_input=None):
|
||||
async def async_step_user(
|
||||
self, user_input: dict[str, Any] | None = None
|
||||
) -> ConfigFlowResult:
|
||||
"""Handle the initial step."""
|
||||
# When coming back from the progress steps, the user_input is stored in the
|
||||
# instance variable instead of being passed in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue