Files
TuneBot/tables/__init__.py
T
2021-10-30 17:19:31 +02:00

8 lines
217 B
Python

import sqlalchemy as sa
from .autojoin import table as autojoin
from typing import Dict
def get_tables(metadata: sa.MetaData) -> Dict[str, sa.Table]:
return {name: table for name, table in [autojoin(metadata)]}