Add self argument to non-static method

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
Olivier Gayot 2022-01-14 11:28:38 +01:00
parent b312a24468
commit f294a49f0b
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class CheckSubscriptionError(Exception):
class UAInterfaceStrategy(ABC): class UAInterfaceStrategy(ABC):
""" Strategy to query information about a UA subscription. """ """ Strategy to query information about a UA subscription. """
@abstractmethod @abstractmethod
async def query_info(token: str) -> dict: async def query_info(self, token: str) -> dict:
""" Return information about the UA subscription based on the token """ Return information about the UA subscription based on the token
provided. """ provided. """