Applied auto pep 8 changes

This commit is contained in:
2024-01-21 22:06:06 +00:00
parent f227727c74
commit 44c1ee03ba
22 changed files with 156 additions and 100 deletions

View File

@@ -1,9 +1,11 @@
from abc import ABC
class User(ABC):
""" Functional Class constructor to initialise all properties in the base object
with a value """
def __init__(self, username: str, password: str, firstname: str,
def __init__(self, username: str, password: str, firstname: str,
lastname: str, email: str, phone: str, role: str):
self.id = 0
self.username = username
@@ -12,4 +14,4 @@ class User(ABC):
self.lastName = lastname
self.email = email
self.phone = phone
self.role= role
self.role = role