video-stream/driver/database/dblocal.py

9 lines
170 B
Python
Raw Normal View History

2022-01-31 12:01:11 +00:00
""" mongo database """
from motor.motor_asyncio import AsyncIOMotorClient as Bot
from config import MONGODB_URL as tmo
MONGODB_CLI = Bot(tmo)
db = MONGODB_CLI.program