From fed438e4351d7fca6e43b3bb05fbfb314725c695 Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Wed, 26 Jun 2024 16:33:21 +0200 Subject: [PATCH] fix return type --- chargeamps/base.py | 2 +- chargeamps/external.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chargeamps/base.py b/chargeamps/base.py index 4f461d1..28191c5 100644 --- a/chargeamps/base.py +++ b/chargeamps/base.py @@ -12,7 +12,7 @@ class ChargeAmpsClient(metaclass=ABCMeta): @abstractmethod - async def shutdown(self): + async def shutdown(self) -> None: pass @abstractmethod diff --git a/chargeamps/external.py b/chargeamps/external.py index f3213d7..624aa52 100644 --- a/chargeamps/external.py +++ b/chargeamps/external.py @@ -41,7 +41,7 @@ def __init__( self._token = None self._token_expire = 0 - async def shutdown(self): + async def shutdown(self) -> None: await self._session.close() async def _ensure_token(self):