some test enters

This commit is contained in:
Saeid 2026-10-26 21:06:16 +03:30
parent ad50ce01ce
commit 37de443c71
2 changed files with 10 additions and 0 deletions

View File

@ -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"]

View File

@ -12,6 +12,10 @@ class User:
def __init__(self):
self.created_at = get_current_time()
def get_current_time():
return datetime.now(timezone.utc)