diff options
author | Jonah BrĂ¼chert <jbb@kaidan.im> | 2024-03-29 01:57:13 +0100 |
---|---|---|
committer | Jonah BrĂ¼chert <jbb@kaidan.im> | 2024-03-29 02:14:11 +0100 |
commit | 41551f9ff74c692b3db7818364a9b0966e5a08be (patch) | |
tree | f68c2c5a239ca172b31e91a944584274eda383f9 /accounts/backend/user/__init__.py | |
parent | 7f9ceaa1601b57338fadd93c591d8f837afe7d1f (diff) | |
download | web-41551f9ff74c692b3db7818364a9b0966e5a08be.tar.gz web-41551f9ff74c692b3db7818364a9b0966e5a08be.tar.bz2 web-41551f9ff74c692b3db7818364a9b0966e5a08be.zip |
Enforce types in function calls
Diffstat (limited to 'accounts/backend/user/__init__.py')
-rw-r--r-- | accounts/backend/user/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/backend/user/__init__.py b/accounts/backend/user/__init__.py index 1504e41..70f973a 100644 --- a/accounts/backend/user/__init__.py +++ b/accounts/backend/user/__init__.py @@ -135,13 +135,13 @@ class Backend(object): """ raise NotImplementedError() - def _store(self, account): + def _store(self, account: Account) -> None: """ Persists an account in the backend. """ raise NotImplementedError() - def _get_next_uidNumber(self): + def _get_next_uidNumber(self) -> int: """ Get the next free uid number. |