You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
typing an init parameter causes wrong argument calculation #4290
This is because mypy processes definitions in order, and when it comes across create() in the first version it hasn't seen the __init__() signature yet. IIRC there's another issue open for this.
Activity
gvanrossum commentedon Nov 29, 2017
This is because mypy processes definitions in order, and when it comes across
create()in the first version it hasn't seen the__init__()signature yet. IIRC there's another issue open for this.JelleZijlstra commentedon Nov 29, 2017
Yes, this is #1727.
mvoitko commentedon Oct 12, 2020
The same problem remains with SQLAlchemy models.