#5 Started wiring up endpoints do display user stats

This commit is contained in:
2024-02-01 01:44:02 +00:00
parent fee4a19e3f
commit dd243e9c72
5 changed files with 39 additions and 4 deletions

View File

@ -11,7 +11,7 @@ class Stats:
self.id = 0
self.userID = 0
self.productID = 0
self.viewDate = datetime.now()
self.viewDate: datetime = datetime.now()
def __init__(self, product_id: int, user_id: int):
""" Construct a view with the user and product class """