Initial commit

This commit is contained in:
2025-12-10 22:47:38 +01:00
parent e98d8c5c1b
commit f78c4d389d
2870 changed files with 641720 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
from __future__ import annotations
import typing as t
import sqlalchemy as sa
import sqlalchemy.sql.schema as sa_sql_schema
class _Table(sa.Table):
@t.overload
def __init__(
self,
name: str,
*args: sa_sql_schema.SchemaItem,
bind_key: str | None = None,
**kwargs: t.Any,
) -> None:
...
@t.overload
def __init__(
self,
name: str,
metadata: sa.MetaData,
*args: sa_sql_schema.SchemaItem,
**kwargs: t.Any,
) -> None:
...
@t.overload
def __init__(
self, name: str, *args: sa_sql_schema.SchemaItem, **kwargs: t.Any
) -> None:
...
def __init__(
self, name: str, *args: sa_sql_schema.SchemaItem, **kwargs: t.Any
) -> None:
super().__init__(name, *args, **kwargs) # type: ignore[arg-type]