villebro commented on a change in pull request #14483:
URL: https://github.com/apache/superset/pull/14483#discussion_r626442358



##########
File path: superset/views/core.py
##########
@@ -485,6 +485,7 @@ def annotation_json(  # pylint: disable=no-self-use
         self, layer_id: int
     ) -> FlaskResponse:
         form_data = get_form_data()[0]
+        force = request.args.get("force") == "true"

Review comment:
       I found this, so I added a util for it as there didn't seem to be one 
yet: 
https://docs.python.org/2/distutils/apiref.html?highlight=distutils.util#distutils.util.strtobool




-- 
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