Skip to content

Commit 263ea2d

Browse files
committed
Update
1 parent b96201d commit 263ea2d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

archinstall/lib/models/authentication.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from dataclasses import dataclass
22
from enum import Enum
3-
from typing import Any, NotRequired, TypedDict
3+
from typing import Any, NotRequired, Optional, TypedDict
44

55
from archinstall.lib.translationhandler import tr
66

@@ -40,7 +40,7 @@ def json(self) -> U2FLoginConfigSerialization:
4040
}
4141

4242
@staticmethod
43-
def parse_arg(args: dict[str, Any]) -> 'U2FLoginConfiguration' | None:
43+
def parse_arg(args: dict[str, Any]) -> Optional['U2FLoginConfiguration']:
4444
u2f_login_method = args.get('u2f_login_method')
4545

4646
if u2f_login_method is None:

0 commit comments

Comments
 (0)