forked from p15670423/monkey
Island: Fix incorrect type hint in AuthenticationService
This commit is contained in:
parent
c16705241a
commit
3d931b11f9
|
@ -1,3 +1,5 @@
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
import bcrypt
|
import bcrypt
|
||||||
|
|
||||||
from common.utils.exceptions import (
|
from common.utils.exceptions import (
|
||||||
|
@ -23,7 +25,7 @@ class AuthenticationService:
|
||||||
# static/singleton hybrids. At the moment, this requires invasive refactoring that's
|
# static/singleton hybrids. At the moment, this requires invasive refactoring that's
|
||||||
# not a priority.
|
# not a priority.
|
||||||
@classmethod
|
@classmethod
|
||||||
def initialize(cls, data_dir: str, user_datastore: IUserDatastore):
|
def initialize(cls, data_dir: Path, user_datastore: IUserDatastore):
|
||||||
cls.DATA_DIR = data_dir
|
cls.DATA_DIR = data_dir
|
||||||
cls.user_datastore = user_datastore
|
cls.user_datastore = user_datastore
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue