Implement repository
This commit is contained in:
parent
334dab2dbc
commit
6daa0a5e9b
|
@ -1,2 +1,3 @@
|
|||
loguru
|
||||
aiogram
|
||||
aiogram
|
||||
asyncpg
|
|
@ -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
|
||||
|
|
Reference in a new issue