Spaces:
Running
Running
remove unused imports
Browse files- hackaprompt/utils.py +1 -3
hackaprompt/utils.py
CHANGED
@@ -7,9 +7,6 @@ import uuid
|
|
7 |
from datetime import datetime, timezone
|
8 |
from urllib.parse import quote_plus
|
9 |
|
10 |
-
import pandas as pd
|
11 |
-
from pymongo import MongoClient
|
12 |
-
|
13 |
logging.basicConfig(level=logging.INFO)
|
14 |
logger = logging.getLogger(__name__)
|
15 |
|
@@ -37,6 +34,7 @@ def get_utc_time() -> str:
|
|
37 |
|
38 |
def init_db():
|
39 |
"""Initialize mongodb database."""
|
|
|
40 |
|
41 |
username = os.getenv("HACKAPROMPT_MONGODB_USERNAME")
|
42 |
password = os.getenv("HACKAPROMPT_MONGODB_PASSWORD")
|
|
|
7 |
from datetime import datetime, timezone
|
8 |
from urllib.parse import quote_plus
|
9 |
|
|
|
|
|
|
|
10 |
logging.basicConfig(level=logging.INFO)
|
11 |
logger = logging.getLogger(__name__)
|
12 |
|
|
|
34 |
|
35 |
def init_db():
|
36 |
"""Initialize mongodb database."""
|
37 |
+
from pymongo import MongoClient
|
38 |
|
39 |
username = os.getenv("HACKAPROMPT_MONGODB_USERNAME")
|
40 |
password = os.getenv("HACKAPROMPT_MONGODB_PASSWORD")
|