Added function headers in database.add

This commit is contained in:
StNicolay 2022-09-29 16:02:11 +03:00
parent c8410a877c
commit e92044ec1b

16
src/database/add.py Normal file
View File

@ -0,0 +1,16 @@
import mariadb
def add_master_pass(hashed_passwd: bytes, salt: bytes, con: mariadb.Connection) -> bool:
...
def add_account(
id: int,
salt: bytes,
acc_name: str,
enc_login: bytes,
enc_passwd: bytes,
con: mariadb.Connection,
) -> bool:
...