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