remove pydantic from user_interface.py
This commit is contained in:
@@ -1,11 +1,10 @@
|
|||||||
from pydantic import BaseModel
|
from dataclasses import dataclass
|
||||||
from secrets import choice
|
from secrets import choice
|
||||||
|
|
||||||
from src.models import KeypadSize
|
from src.models import KeypadSize
|
||||||
from src.utils import list_to_matrix, secure_fisher_yates_shuffle, matrix_to_list, matrix_transpose
|
from src.utils import list_to_matrix, secure_fisher_yates_shuffle, matrix_to_list, matrix_transpose
|
||||||
|
|
||||||
|
@dataclass
|
||||||
class UserInterface(BaseModel):
|
class UserInterface:
|
||||||
interface: list[int]
|
interface: list[int]
|
||||||
keypad_size: KeypadSize
|
keypad_size: KeypadSize
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user