Remove extra_tables.

This commit is contained in:
gerlofvanek
2026-04-08 20:52:05 +02:00
parent 614d29c31c
commit 953ef6b4ae

View File

@@ -772,13 +772,9 @@ class NetworkPortal(Table):
created_at = Column("integer")
def extract_schema(extra_tables: list = None, input_globals: dict = None) -> dict:
def extract_schema(input_globals: dict = None) -> dict:
g = (input_globals if input_globals else globals()).copy()
if extra_tables:
for table_class in extra_tables:
g[table_class.__name__] = table_class
tables = {}
for name, obj in g.items():
if not inspect.isclass(obj):