Skip to content

Commit 57d98fa

Browse files
committed
fix (test): SQLAlchemy type annotation error.
Type annotation can’t be interpreted for Annotated Declarative Table form. https://docs.sqlalchemy.org/en/20/errors.html#type-annotation-can-t-be-interpreted-for-annotated-declarative-table-form Signed-off-by: Paulo Vital <[email protected]>
1 parent 8d48fef commit 57d98fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/clients/test_sqlalchemy.py

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
class StanUser(Base):
2424
__tablename__ = "churchofstan"
25+
__allow_unmapped__ = True
2526

2627
id = Column(Integer, primary_key=True)
2728
name = Column(String)

0 commit comments

Comments
 (0)