rlt_salary/app/database/mongodb.py

6 lines
147 B
Python

from motor.motor_asyncio import AsyncIOMotorClient
class MongoDB:
def __init__(self, url: str):
self.client = AsyncIOMotorClient(url)