fastapi-sqlalchemy-asyncpg icon indicating copy to clipboard operation
fastapi-sqlalchemy-asyncpg copied to clipboard

static type checking

Open grillazz opened this issue 2 years ago • 1 comments

options are: mypy, pyright, pyre

grillazz avatar Nov 04 '22 09:11 grillazz

Hello! I'm not sure if I need to mention this here, but in case it's helpful to anyone, if you want to use MyPy with Alchemy 2.0, you'll need to modify the Base model class. Specifically, replace @declared_attr with @declared_attr.directive. Referance here

am1ter avatar Apr 24 '23 18:04 am1ter