started laying out read write operations

This commit is contained in:
Hellow2 2023-02-15 16:23:22 +01:00
parent 71e79faac4
commit a56233d5a6
2 changed files with 19 additions and 0 deletions

View File

View File

@ -0,0 +1,19 @@
from typing import Union
from peewee import (
SqliteDatabase,
MySQLDatabase,
PostgresqlDatabase,
)
from . import objects
# just a Type for type hintung. You can't do anything with it.
Database = Union[SqliteDatabase, PostgresqlDatabase, MySQLDatabase]
class Session:
"""
do the thingie with the with keyword
overload __end__ and maybe __start__ i dunfckinnow
"""
pass