From 37de443c71bd7f1444d59d6b463dc11bbc11588c Mon Sep 17 00:00:00 2001 From: Saeid Date: Mon, 26 Oct 2026 21:06:16 +0330 Subject: [PATCH] some test enters --- config.py | 6 ++++++ models.py | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/config.py b/config.py index 587d216..316c934 100644 --- a/config.py +++ b/config.py @@ -2,5 +2,11 @@ import pymongo client = pymongo.MongoClient("mongodb://localhost:27017") db = client["bank"] users_collection = db["users"] + + + + + + account_collection = db["accounts"] transaction_collection = db["transactions"] \ No newline at end of file diff --git a/models.py b/models.py index 635d561..2f03b65 100644 --- a/models.py +++ b/models.py @@ -12,6 +12,10 @@ class User: def __init__(self): self.created_at = get_current_time() + + + + def get_current_time(): return datetime.now(timezone.utc)