Repository navigation
Fix app.extra annotation - #1659
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1659 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 235 235
Lines 6989 6989
=========================================
Hits 6989 6989
Continue to review full report at Codecov.
|
|
What issues? |
|
@Kludex, type-checkers will complain that |
|
@bharel Could you post the error that you got or is there a FastAPI issue about it? Do you mind providing more information? We can't even know which "type-checkers"... |
|
I just saw that all the |
All of them. I doubt the build fails because of the PR. |
|
Great, good catch! π For reference, it's described here: https://mypy.readthedocs.io/en/stable/getting_started.html?highlight=kwargs#more-function-signatures Thanks for your contribution! β π° |

**kwargsannotation is based on the value.ATM extra is annotated like
Dict[str, Dict[str, Any]]which causes issues with type-checkers.