I tried this way, but I found it cannot make `Class.attribute` assignable. With this solution, in the example below, pyright reports an incompatible type error in line 3.
```python
class Entity(Base):
__tablename__ = 'entity'
column_1: AttrAnnotation[Column, int] = Column('column_1', BIGINT(unsigned=True), primary_key=True, autoincrement=True)
# ^ Expression of type "Column[int]" cannot be assigned to declared type "AttrAnnotation[Column[Unknown], int]"
# "Column[int]" is incompatible with "AttrAnnotation[Column[Unknown], int]"
```
Does anyone still have any idea?
_______________________________________________
Typing-sig mailing list -- typing-sig@python.org
To unsubscribe send an email to typing-sig-leave@python.org
https://mail.python.org/mailman3/lists/typing-sig.python.org/
Member address: n.a.sobolev@gmail.com