refactor: organize import statements for clarity and consistency

This commit is contained in:
Siddhant Rai
2025-10-03 12:41:03 +05:30
parent 70183e234a
commit 6c43245295
6 changed files with 9 additions and 37 deletions

View File

@@ -8,7 +8,6 @@ import uuid
from functools import wraps
from typing import Optional, Tuple
from bson.dbref import DBRef
from bson.objectid import ObjectId
from flask import current_app, jsonify, make_response, Response
from pymongo import ReturnDocument
@@ -49,8 +48,6 @@ try:
users_collection.create_index("user_id", unique=True)
except Exception as e:
print("Error creating indexes:", e)
current_dir = os.path.dirname(
os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
)