Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzeek committed Mar 13, 2021
1 parent f397826 commit ac51dd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions sqlalchemy-stubs/orm/attributes.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ class Mapped(QueryableAttribute, Generic[_T]):
def __get__(self, instance: object, owner: Any) -> _T: ...
def __set__(self, instance: Any, value: _T) -> None: ...
def __delete__(self, instance: Any) -> None: ...
@classmethod
def _empty_constructor(cls, arg1: Any) -> "Mapped"[_T]: ...

class InstrumentedAttribute(Mapped):
inherit_cache: bool = ...
Expand Down
5 changes: 3 additions & 2 deletions sqlalchemy-stubs/sql/schema.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ class Column(DialectKWArgs, SchemaItem, ColumnClause[_TE]):
@overload
def __init__(self, typ: Type[_TE], *args: Any, **kwargs: Any) -> None: ...
@overload
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
def __init__(
self, const: SchemaItem, *args: Any, **kwargs: Any
) -> None: ...
def references(self, column: Any): ...
def append_foreign_key(self, fk: Any) -> None: ...
def copy(self, **kw: Any): ...
Expand Down

0 comments on commit ac51dd2

Please sign in to comment.