File size: 245 Bytes
c109b62
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from pymongo import MongoClient
import os
from dotenv import load_dotenv
load_dotenv()

client = MongoClient(os.getenv("MONGO_URI"))
db = client["codewhisperer"]

enhance_history = db["enhance_history"]
scan_history = db["scan_history"]