john-bodley opened a new pull request #9824:
URL: https://github.com/apache/incubator-superset/pull/9824


   ### SUMMARY
   
   Adding mypy type enforcement to the `superset.connectors` module.
   
   Note this PR was much more involved/complex than I had originally thought 
given the dependency on other modules which were untyped. Additionally the 
overall code quality is quite poor; large complex functions, variables with 
mixed types (i.e., numerous `Union` types), variable redefinition, etc. meant 
that the logic was quite hard to grok. 
   
   Note this PR may introduce some regressions due to the necessary 
restructuring, however I sense long-term benefits of having the entire repo 
typed outweighs the short-term concerns regarding possibly (minor) regressions.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   
   ### TEST PLAN
   
   CI.
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Changes UI
   - [ ] Requires DB Migration.
   - [ ] Confirm DB Migration upgrade and downgrade tested.
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to