Mypy error: "int" is not callable #1156
Unanswered
sergeyglazyrindev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys.
I use arrow 1.2.3 and python 3.9, and I am getting mypy error for the following code:
and in this line I am getting mypy error: "int" is not callable
where field_val has type: typing.Any
I tried to remove part make_project_datetime and mypy doesn't report any error in this line, so, it's considering that make_project_datetime attribute has type int...
Could anyone suggest what could be the problem ? And how to fix it properly ?
Beta Was this translation helpful? Give feedback.
All reactions