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 loguru
aiogram aiogram
asyncpg

View file

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