Implement repository

This commit is contained in:
LoRiot 2022-10-16 15:37:29 +03:00
parent 334dab2dbc
commit 6daa0a5e9b
3 changed files with 7 additions and 3 deletions

View File

View File

@ -1,2 +1,3 @@
loguru
aiogram
aiogram
asyncpg

View File

@ -1,5 +1,8 @@
from asyncpg.connection import Connection
class Repo:
"""Db abstraction layer"""
def __init__(self):
pass
def __init__(self, conn: Connection):
self.conn = conn