diff --git a/subiquity/client/controllers/ubuntu_advantage.py b/subiquity/client/controllers/ubuntu_advantage.py index 28195193..abfe1e8c 100644 --- a/subiquity/client/controllers/ubuntu_advantage.py +++ b/subiquity/client/controllers/ubuntu_advantage.py @@ -15,7 +15,9 @@ """ Module that defines the client-side controller class for Ubuntu Advantage. """ +import asyncio import logging +from typing import Optional from subiquitycore.async_helpers import schedule_task @@ -37,6 +39,12 @@ class UbuntuAdvantageController(SubiquityTuiController): endpoint_name = "ubuntu_advantage" + def __init__(self, app) -> None: + """ Initializer for the client-side UA controller. """ + self._check_task: Optional[asyncio.Future] = None + + super().__init__(app) + async def make_ui(self) -> UbuntuAdvantageView: """ Generate the UI, based on the data provided by the model. """