rlt_salary/app/database/mongodb.py

6 lines
147 B
Python
Raw Normal View History

2024-02-27 20:21:36 +01:00
from motor.motor_asyncio import AsyncIOMotorClient
class MongoDB:
def __init__(self, url: str):
self.client = AsyncIOMotorClient(url)