fix(typing): Resolve misc type ignores in schemapi.py#3545
fix(typing): Resolve misc type ignores in schemapi.py#3545dangotbanned merged 6 commits intovega:mainfrom
schemapi.py#3545Conversation
This method is far too dynamic to fix everything. Removed the need for one `mypy` specific ignore as well.
|
Thanks! I've also noticed that validation can take up a significant amount of time in contexts where milliseconds matter such as in web applications. In an application at work, I had to disable validation of charts when it's deployed to production. Maybe there are things in Python we could improve but I think part of it is also just how the |
These are all very low-priority, but allows using
"python.analysis.typeCheckingMode": "basic"in this module, without any warnings.Planning to investigate improving the peformance of validation, which will be much easier with a live type checker