bryanck opened a new pull request #12620:
URL: https://github.com/apache/superset/pull/12620


   ### SUMMARY
   This fixes an error I encountered on a dashboard after I modified a Big 
Number chart type. It appears the code is checking if a key exists in a dict, 
which will throw an exception in Python, so I made a change to use the `in` 
operator instead.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   ![Screen Shot 2021-01-19 at 5 52 58 
PM](https://user-images.githubusercontent.com/5475421/105185958-081c9180-5ae6-11eb-9f37-fd1ca9094390.png)
   
   ### TEST PLAN
   
   ### 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