From: xliang Date: Sat, 15 Mar 2025 04:36:29 +0000 (-0700) Subject: Add signature to cached property function X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=0d6b818c5a87e2c6e82806e5c4d9377116ac4054;p=mullvad-wg-tools.git Add signature to cached property function --- diff --git a/wg-mullvad.py b/wg-mullvad.py index 84eefdc..39268b3 100755 --- a/wg-mullvad.py +++ b/wg-mullvad.py @@ -57,7 +57,7 @@ class MullvadApi: return self._api(f'{MullvadApi.HOST}/accounts/v1/devices') @functools.cached_property - def web_token(self): + def web_token(self) -> str: body = { 'account_number': self.account_number, }