Ivan Levkivskyi

Results 432 comments of Ivan Levkivskyi

This is because SQLAlchemy enum predates PEP 435, so it is actually possible to pass a list of strings to the `Enum` constructor. We can try to support this by...

Something like this should work I think: ```python if TYPE_CHECKING: from sqlalchemy.sql.type_api import TypeEngine class Enum(TypeEngine[T]): def __init__(self, enum: Type[T]) -> None: ... else: from sqlalchemy import Enum ```

We should add tests for at least most used code patterns: * Create table * Create model * Instantiate model * Make a query * Iterate and access attributes on...

I actually thought about this. But this may be misleading, because the code is not re-checked immediately when you edit it. So it will be underlined as an error even...

No, these are times for 0.701. Internally we are using a script that is basically a wrapper around `dmypy recheck [--update|--remove]`. We received a report from another user a while...

Yeah, this would make most sense together with https://github.com/dropbox/mypy-PyCharm-plugin/issues/19.

Thanks for reporting! This looks a bit strange, your command should always fail because currently daemon _must_ be started with either `--follow-import=skip` or `--follow-imports=error`. Have you tried your exact command...

Solving #9 will help with some of these.

`select` may be the most complicated here because of a weird (from typing point of view) signature -- it accepts fixed length lists: ```python s = select([users, addesses]) t =...

Also please note tests are failing (you should probably add an explicit `__iter__` override).